forked from luna/vim-rana-local
updated wakatime.py package
This commit is contained in:
parent
2053280349
commit
4dd3b4b8d2
2 changed files with 4 additions and 3 deletions
|
@ -58,8 +58,9 @@ class Git(BaseProject):
|
||||||
stdout = None
|
stdout = None
|
||||||
try:
|
try:
|
||||||
stdout, stderr = Popen([
|
stdout, stderr = Popen([
|
||||||
'git', 'branch', '--no-color', '--list'
|
'git', 'branch', '--no-color', '--list'
|
||||||
], stdout=PIPE, cwd=self._project_base()).communicate()
|
], stdout=PIPE, stderr=PIPE, cwd=self._project_base()
|
||||||
|
).communicate()
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
if stdout:
|
if stdout:
|
||||||
|
|
|
@ -37,7 +37,7 @@ class Subversion(BaseProject):
|
||||||
try:
|
try:
|
||||||
stdout, stderr = Popen([
|
stdout, stderr = Popen([
|
||||||
'svn', 'info', os.path.realpath(self.path)
|
'svn', 'info', os.path.realpath(self.path)
|
||||||
], stdout=PIPE).communicate()
|
], stdout=PIPE, stderr=PIPE).communicate()
|
||||||
except OSError:
|
except OSError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue