From 9a4064a3c323366a71559ec7a1bdb88fc45626b0 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Wed, 10 Jul 2013 01:34:26 -0700 Subject: [PATCH] updated wakatime.py package --- packages/wakatime/projects/git.py | 5 +++-- packages/wakatime/projects/subversion.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/wakatime/projects/git.py b/packages/wakatime/projects/git.py index 00cf1f4..8639637 100644 --- a/packages/wakatime/projects/git.py +++ b/packages/wakatime/projects/git.py @@ -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: diff --git a/packages/wakatime/projects/subversion.py b/packages/wakatime/projects/subversion.py index 35d834d..92d0eef 100644 --- a/packages/wakatime/projects/subversion.py +++ b/packages/wakatime/projects/subversion.py @@ -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: