Use os.environ.copy() instead of dict()
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
b0f9a02394
commit
3218c13205
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ class GitCommand(object):
|
|||
ssh_proxy = False,
|
||||
cwd = None,
|
||||
gitdir = None):
|
||||
env = dict(os.environ)
|
||||
env = os.environ.copy()
|
||||
|
||||
for e in [REPO_TRACE,
|
||||
GIT_DIR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue