Use os.environ.copy() instead of dict()

Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce 2010-12-07 08:46:14 -08:00
parent b0f9a02394
commit 3218c13205

View File

@ -104,7 +104,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,