Skip to content

Commit 4f2cb14

Browse files
committed
Reformat text, needs i18n needs crash checking for long filenames which wrap
1 parent 9230d16 commit 4f2cb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def push(self, s, insert_into_history=True):
755755
try:
756756
self.rl_history.save(histfilename, getpreferredencoding(), self.config.hist_length)
757757
except EnvironmentError, err:
758-
self.interact.notify("Write error for file: %s. %s " % (histfilename, err.strerror))
758+
self.interact.notify("Error occured while writing to file %s (%s) " % (histfilename, err.strerror))
759759
else:
760760
self.rl_history.append(s)
761761

0 commit comments

Comments
 (0)