Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
I pushed the wrong commit O.o
  • Loading branch information
encukou committed May 25, 2023
1 parent 7ae4a88 commit 64d1a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_tarfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3043,7 +3043,7 @@ def check_context(self, tar, filter):
self.raised_exception = None
try:
self.expected_paths = set(self.outerdir.glob('**/*'))
except OSError as err
except OSError as err:
if getattr(err, 'winerror', None) == 123:
# 123 is Windows error ERROR_INVALID_NAME
# glob() fails this way when symlink targets are too long
Expand Down

0 comments on commit 64d1a92

Please sign in to comment.