Skip to content

Commit 32efbfb

Browse files
committed
Fixed a comment
1 parent b3a68e5 commit 32efbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3594,7 +3594,7 @@ def _initialize_history(self, hist_file):
35943594
history = pickle.load(fobj)
35953595
except (AttributeError, EOFError, FileNotFoundError, ImportError, IndexError, KeyError, ValueError,
35963596
pickle.UnpicklingError):
3597-
# If any non-operating system error occurs when attempting to unpickle, just use an empty history
3597+
# If any of these errors occur when attempting to unpickle, just use an empty history
35983598
pass
35993599
except OSError as ex:
36003600
msg = "Can not read persistent history file '{}': {}"

0 commit comments

Comments
 (0)