We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69d3480 + 325d3bb commit 937865aCopy full SHA for 937865a
bpython/cli.py
@@ -974,7 +974,7 @@ def p_key(self, key):
974
try:
975
source = self.get_source_of_current_name()
976
except repl.SourceNotFound as e:
977
- self.statusbar.message(_(e))
+ self.statusbar.message(str(e))
978
else:
979
if config.highlight_show_source:
980
source = format(PythonLexer().get_tokens(source),
bpython/curtsiesfrontend/repl.py
@@ -1682,7 +1682,7 @@ def show_source(self):
1682
1683
1684
except SourceNotFound as e:
1685
- self.status_bar.message('%s' % (e, ))
+ self.status_bar.message(str(e))
1686
1687
if self.config.highlight_show_source:
1688
0 commit comments