changeset 2312:eaff25529c53

jp (base): typo
author Goffi <goffi@goffi.org>
date Fri, 07 Jul 2017 12:45:28 +0200
parents a42a2478abd2
children 6ff5212997c7
files frontends/src/jp/base.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Thu Jul 06 20:35:21 2017 +0200
+++ b/frontends/src/jp/base.py	Fri Jul 07 12:45:28 2017 +0200
@@ -166,7 +166,7 @@
         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 @@
                                               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