Skip to content

Commit

Permalink
Add missing removal of PYTHONPATH. Refs #101
Browse files Browse the repository at this point in the history
  • Loading branch information
fschulze committed Nov 28, 2012
1 parent 387a679 commit a4bdbfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mr/developer/mercurial.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def _update_to_rev(self, rev):
path = self.source['path']
name = self.source['name']
env = dict(os.environ)
env.pop('PYTHONPATH', None)
cmd = subprocess.Popen(['hg', 'checkout', rev], cwd=path,
env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = cmd.communicate()
Expand Down

0 comments on commit a4bdbfd

Please sign in to comment.