mirror of
https://github.com/wakatime/sublime-wakatime.git
synced 2023-08-10 21:13:02 +03:00
updated wakatime.py package
This commit is contained in:
parent
0961389f0d
commit
9a4064a3c3
@ -58,8 +58,9 @@ class Git(BaseProject):
|
||||
stdout = None
|
||||
try:
|
||||
stdout, stderr = Popen([
|
||||
'git', 'branch', '--no-color', '--list'
|
||||
], stdout=PIPE, cwd=self._project_base()).communicate()
|
||||
'git', 'branch', '--no-color', '--list'
|
||||
], stdout=PIPE, stderr=PIPE, cwd=self._project_base()
|
||||
).communicate()
|
||||
except OSError:
|
||||
pass
|
||||
if stdout:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user