From b9dbd0b6814e9218330236ab7cfc063b33e8d603 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 9 Sep 2014 12:00:03 +0200 Subject: [PATCH] Accesss stdout in VERBOSE we do not need it otherwise --- roles/distgit/templates/pkgdb_sync_git_branches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/distgit/templates/pkgdb_sync_git_branches.py b/roles/distgit/templates/pkgdb_sync_git_branches.py index 99c70f5ef2..83df7a4f2a 100644 --- a/roles/distgit/templates/pkgdb_sync_git_branches.py +++ b/roles/distgit/templates/pkgdb_sync_git_branches.py @@ -87,10 +87,10 @@ def _invoke(program, args): print ' '.join(cmdLine) if VERBOSE: - program = subprocess.Popen(cmdLine, stderr=subprocess.STDOUT) - else: program = subprocess.Popen( cmdLine, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + else: + program = subprocess.Popen(cmdLine, stderr=subprocess.STDOUT) retCode = program.wait() if retCode != 0: