diff --git a/frontends/src/jp/base.py b/frontends/src/jp/base.py index 6a940310..9f53e8a3 100644 --- a/frontends/src/jp/base.py +++ b/frontends/src/jp/base.py @@ -166,7 +166,7 @@ class Jp(object): self.bridge = bridge_module.Bridge() self.bridge.bridgeConnect(callback=self._bridgeCb, errback=self._bridgeEb) # _no_exit is used in shell mode because SystemExit can't - # catched when loop is in use + # catched in some cases self._no_exit = False def _bridgeCb(self): @@ -174,7 +174,7 @@ class Jp(object): description=DESCRIPTION) self._make_parents() self.add_parser_options() - self.subparsers = self.parser.add_subparsers(title=_('Available commands'), dest='subparser_name') + self.subparsers = self.parser.add_subparsers(title=_(u'Available commands'), dest='subparser_name') self._auto_loop = False # when loop is used for internal reasons self._need_loop = False