From 8305e00803ac24b824091d634418a69294f0407a Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 20 Sep 2013 15:48:19 +0200 Subject: [PATCH] ... of course I meant check_output ... --- vcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcs.py b/vcs.py index 2e7e818..5e481de 100644 --- a/vcs.py +++ b/vcs.py @@ -34,7 +34,7 @@ class GitCommand: def __getattr__(self, name): def call(*args, get_stderr = False): cmd = ["git", name.replace('_', '-')] + list(args) - output = subprocess.check_call(cmd, stderr=subprocess.STDOUT if get_stderr else None) + output = subprocess.check_output(cmd, stderr=subprocess.STDOUT if get_stderr else None) return output.decode('utf-8').strip('\n') return call git = GitCommand() -- 2.30.2