Skip to content

Commit 3f4e51b

Browse files
Harmon758Byron
authored andcommittedFeb 8, 2020
Remove unnecessary check for PermissionError for Python < 3.3
1 parent a8da407 commit 3f4e51b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎git/cmd.py

-5
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)