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 (str ( e ))
977+ self .statusbar .message ('%s' % ( 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 @@ -1702,7 +1702,7 @@ def show_source(self):
17021702 try :
17031703 source = self .get_source_of_current_name ()
17041704 except SourceNotFound as e :
1705- self .status_bar .message (str ( e ))
1705+ self .status_bar .message ('%s' % ( e , ))
17061706 else :
17071707 if self .config .highlight_show_source :
17081708 source = format (PythonLexer ().get_tokens (source ),
You can’t perform that action at this time.
0 commit comments