From ee44309901378937114eb6e5e7ae4dbceee0f1c5 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 3 Dec 2014 16:40:46 +0200 Subject: [PATCH] rpm: suppress stderr when unpacking src.rpm Change-Id: I055e94f905048141268ceb9172b4e10fcb5cdc58 Signed-off-by: Markus Lehtonen --- gbp/rpm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbp/rpm/__init__.py b/gbp/rpm/__init__.py index f6c0d59..22983d2 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): -- 2.7.4