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):
974974 try :
975975 source = self .get_source_of_current_name ()
976976 except repl .SourceNotFound as e :
977- self .statusbar .message (_ (e ))
977+ self .statusbar .message (str (e ))
978978 else :
979979 if config .highlight_show_source :
980980 source = format (PythonLexer ().get_tokens (source ),
Original file line number Diff line number Diff line change @@ -1682,7 +1682,7 @@ def show_source(self):
16821682 try :
16831683 source = self .get_source_of_current_name ()
16841684 except SourceNotFound as e :
1685- self .status_bar .message ('%s' % ( e , ))
1685+ self .status_bar .message (str ( e ))
16861686 else :
16871687 if self .config .highlight_show_source :
16881688 source = format (PythonLexer ().get_tokens (source ),
You can’t perform that action at this time.
0 commit comments