Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
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 3218c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_command.py
Expand Up @@ -104,7 +104,7 @@ def __init__(self,
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,
Expand Down

0 comments on commit 3218c13

Please sign in to comment.