diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-07 06:53:23 -0600 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-02-08 10:55:50 +0800 |
commit | 3f4e51bb4fc9d9c74cdbfb26945d053053f60e7b (patch) | |
tree | 6e99788c0d481f7f1a9bb41faeecd6e10d63fc49 | |
parent | a8da4072d71c3b0c13e478dc0e0d92336cf1fdd9 (diff) | |
download | gitpython-3f4e51bb4fc9d9c74cdbfb26945d053053f60e7b.tar.gz |
Remove unnecessary check for PermissionError for Python < 3.3
-rw-r--r-- | git/cmd.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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', |