jp (base): typo

This commit is contained in:
Goffi 2017-07-07 12:45:28 +02:00
commit 783d14bfc7

View file

@ -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