Skip to content

Commit

Permalink
Backwards-compatible exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
benjyw committed Jan 1, 2023
1 parent 486b285 commit bc0a95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pex/pex.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ def execute_interpreter(self):
try:
readline.read_history_file(histfile)
readline.set_history_length(1000)
except FileNotFoundError:
except OSError:
pass

atexit.register(readline.write_history_file, histfile)
Expand Down

0 comments on commit bc0a95b

Please sign in to comment.