summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 06:53:23 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commit3f4e51bb4fc9d9c74cdbfb26945d053053f60e7b (patch)
tree6e99788c0d481f7f1a9bb41faeecd6e10d63fc49
parenta8da4072d71c3b0c13e478dc0e0d92336cf1fdd9 (diff)
downloadgitpython-3f4e51bb4fc9d9c74cdbfb26945d053053f60e7b.tar.gz
Remove unnecessary check for PermissionError for Python < 3.3
-rw-r--r--git/cmd.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/git/cmd.py b/git/cmd.py
index cb226acb..e87a3b80 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -39,11 +39,6 @@ from .util import (
stream_copy,
)
-try:
- PermissionError
-except NameError: # Python < 3.3
- PermissionError = OSError
-
execute_kwargs = {'istream', 'with_extended_output',
'with_exceptions', 'as_process', 'stdout_as_string',
'output_stream', 'with_stdout', 'kill_after_timeout',