From 3f4e51bb4fc9d9c74cdbfb26945d053053f60e7b Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 7 Feb 2020 06:53:23 -0600 Subject: Remove unnecessary check for PermissionError for Python < 3.3 --- git/cmd.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'git/cmd.py') 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', -- cgit v1.2.1