summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-09-10 16:10:25 -0700
committerJesse Keating <jkeating@redhat.com>2010-09-10 16:10:25 -0700
commit4a710621fea6a9842f3ff342712aaee9fca50699 (patch)
tree43f6bf1402fbec85d0cbf52fa6315a0e98463121 /src
parenta680021b98bad95be373fb70ce5dfd26f34aad86 (diff)
downloadfedora-packager-4a710621fea6a9842f3ff342712aaee9fca50699.zip
fedora-packager-4a710621fea6a9842f3ff342712aaee9fca50699.tar.gz
fedora-packager-4a710621fea6a9842f3ff342712aaee9fca50699.tar.xz
Also redirect stderr over to stdout on non-terms
Again this is just because rpmbuild does some stupid things.
Diffstat (limited to 'src')
-rw-r--r--src/pyfedpkg/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index 8c67261..01d6984 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -172,7 +172,8 @@ def _run_command(cmd, shell=False, env=None, pipe=[], cwd=None):
if pipe:
proc1 = subprocess.Popen(command, env=environ,
stdout=subprocess.PIPE,
- stderr=subprocess.PIPE, shell=shell,
+ stderr=subprocess.STDOUT,
+ shell=shell,
cwd=cwd)
proc = subprocess.Popen(pipecmd, env=environ,
stdin=proc1.stdout,