Permalink
Browse files

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

Signed-off-by: Shawn O. Pearce <sop@google.com>
  • Loading branch information...
spearce committed Dec 7, 2010
1 parent b0f9a02 commit 3218c13205694434edb2375ab8a8515554eed366
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_command.py
View
@@ -104,7 +104,7 @@ def __init__(self,
ssh_proxy = False,
cwd = None,
gitdir = None):
- env = dict(os.environ)
+ env = os.environ.copy()
for e in [REPO_TRACE,
GIT_DIR,

0 comments on commit 3218c13

Please sign in to comment.