From 135ebfbb95e44ddbd5eef7fabcc11dc743c33666 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sat, 13 Jul 2013 15:01:21 +0200 Subject: [PATCH] Return stdout in log_check_call --- common/tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/common/tools.py b/common/tools.py index 546f697..d5f5ae2 100644 --- a/common/tools.py +++ b/common/tools.py @@ -5,6 +5,7 @@ def log_check_call(command): if status != 0: from subprocess import CalledProcessError raise CalledProcessError(status, ' '.join(command), '\n'.join(stderr)) + return stdout def log_call(command):