Skip to content

Commit

Permalink
Make debug even more Python 2.7 compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Oct 14, 2024
1 parent c9e8ab8 commit fe07052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pex/hashing.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def iter_files():
for file_path in file_paths:
try:
file_hash(file_path, digest)
except FileNotFoundError:
except OSError:
print(">>> FNF:", file_path, file=sys.stderr)
islink = os.path.islink(file_path)
print("... islink?:", islink, file=sys.stderr)
Expand Down

0 comments on commit fe07052

Please sign in to comment.