mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-05-20 22:06:22 +08:00
Use os.environ.copy() instead of dict()
Signed-off-by: Shawn O. Pearce <sop@google.com> (cherry picked from commit 3218c13205694434edb2375ab8a8515554eed366)
This commit is contained in:
@ -127,7 +127,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,
|
||||
|
Reference in New Issue
Block a user