Skip to content

Commit 07ce38c

Browse files
committed
Fixups: We use our own nullcontext() function
1 parent 4ce3b2b commit 07ce38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def execute(self, command,
809809
cmd_not_found_exception = FileNotFoundError # NOQA # exists, flake8 unknown @UndefinedVariable
810810
else:
811811
cmd_not_found_exception = OSError
812-
patch_caller_env = contextlib.nullcontext()
812+
patch_caller_env = nullcontext()
813813
# end handle
814814

815815
stdout_sink = (PIPE

0 commit comments

Comments
 (0)