updated wakatime.py package

This commit is contained in:
Alan Hamlett 2013-07-10 01:34:26 -07:00
parent 0961389f0d
commit 9a4064a3c3
2 changed files with 4 additions and 3 deletions

View File

@ -59,7 +59,8 @@ class Git(BaseProject):
try:
stdout, stderr = Popen([
'git', 'branch', '--no-color', '--list'
], stdout=PIPE, cwd=self._project_base()).communicate()
], stdout=PIPE, stderr=PIPE, cwd=self._project_base()
).communicate()
except OSError:
pass
if stdout:

View File

@ -37,7 +37,7 @@ class Subversion(BaseProject):
try:
stdout, stderr = Popen([
'svn', 'info', os.path.realpath(self.path)
], stdout=PIPE).communicate()
], stdout=PIPE, stderr=PIPE).communicate()
except OSError:
pass
else: