Skip to content

Commit d0cd5bf

Browse files
committed
Remove unnecessary check for PermissionError for Python < 3.3
1 parent d96688f commit d0cd5bf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

git/cmd.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@
3939
stream_copy,
4040
)
4141

42-
try:
43-
PermissionError
44-
except NameError: # Python < 3.3
45-
PermissionError = OSError
46-
4742
execute_kwargs = {'istream', 'with_extended_output',
4843
'with_exceptions', 'as_process', 'stdout_as_string',
4944
'output_stream', 'with_stdout', 'kill_after_timeout',

0 commit comments

Comments
 (0)