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: