mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Use os.environ.copy() instead of dict()
Signed-off-by: Shawn O. Pearce <sop@google.com>
(cherry picked from commit 3218c13205
)
This commit is contained in:
parent
df14a70c45
commit
727ee98a40
@ -127,7 +127,7 @@ class GitCommand(object):
|
|||||||
ssh_proxy = False,
|
ssh_proxy = False,
|
||||||
cwd = None,
|
cwd = None,
|
||||||
gitdir = None):
|
gitdir = None):
|
||||||
env = dict(os.environ)
|
env = os.environ.copy()
|
||||||
|
|
||||||
for e in [REPO_TRACE,
|
for e in [REPO_TRACE,
|
||||||
GIT_DIR,
|
GIT_DIR,
|
||||||
|
Loading…
Reference in New Issue
Block a user