summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-03 16:40:46 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-12-03 16:40:46 +0200
commitee44309901378937114eb6e5e7ae4dbceee0f1c5 (patch)
treebc960f2e80b7b88107a82826e590409184961c71
parentda5daecccc31697ff9338024cb55a2bf25bb9aab (diff)
downloadgit-buildpackage-ee44309901378937114eb6e5e7ae4dbceee0f1c5.tar.gz
git-buildpackage-ee44309901378937114eb6e5e7ae4dbceee0f1c5.tar.bz2
git-buildpackage-ee44309901378937114eb6e5e7ae4dbceee0f1c5.zip
rpm: suppress stderr when unpacking src.rpm
Change-Id: I055e94f905048141268ceb9172b4e10fcb5cdc58 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--gbp/rpm/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/rpm/__init__.py b/gbp/rpm/__init__.py
index f6c0d59d..22983d2d 100644
--- a/gbp/rpm/__init__.py
+++ b/gbp/rpm/__init__.py
@@ -100,7 +100,7 @@ class SrcRpmFile(object):
"""
gbpc.RunAtCommand('rpm2cpio',
[self.srpmfile, '|', 'cpio', '-id'],
- shell=True)(dir=dest_dir)
+ shell=True, capture_stderr=True)(dir=dest_dir)
class SpecFile(object):