File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -974,7 +974,7 @@ def p_key(self, key):
974
974
try :
975
975
source = self .get_source_of_current_name ()
976
976
except repl .SourceNotFound as e :
977
- self .statusbar .message (_ (e ))
977
+ self .statusbar .message (str (e ))
978
978
else :
979
979
if config .highlight_show_source :
980
980
source = format (PythonLexer ().get_tokens (source ),
Original file line number Diff line number Diff line change @@ -1682,7 +1682,7 @@ def show_source(self):
1682
1682
try :
1683
1683
source = self .get_source_of_current_name ()
1684
1684
except SourceNotFound as e :
1685
- self .status_bar .message ('%s' % ( e , ))
1685
+ self .status_bar .message (str ( e ))
1686
1686
else :
1687
1687
if self .config .highlight_show_source :
1688
1688
source = format (PythonLexer ().get_tokens (source ),
You can’t perform that action at this time.
0 commit comments