Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec2eae8

Browse files
committed
Fix syntax error
1 parent 1c51cd1 commit ec2eae8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

git/cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def pump_stream(cmdline, name, stream, is_decode, handler):
124124
return finalizer(process)
125125

126126

127-
def _safer_popen_windows(command, shell, env=None, **kwargs,):
127+
def _safer_popen_windows(command, shell, env=None, **kwargs):
128128
"""Call :class:`subprocess.Popen` on Windows but don't include a CWD in the search.
129129
This avoids an untrusted search path condition where a file like ``git.exe`` in a
130130
malicious repository would be run when GitPython operates on the repository. The
@@ -167,7 +167,7 @@ def _safer_popen_windows(command, shell, env=None, **kwargs,):
167167
shell=shell,
168168
env=safer_env,
169169
creationflags=creationflags,
170-
**kwargs,
170+
**kwargs
171171
)
172172

173173

0 commit comments

Comments
 (0)