Skip to content

Commit 3f4e51b

Browse files
Harmon758Byron
authored andcommitted
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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy