diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-12-03 17:37:51 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-12-03 17:37:51 +0200 |
commit | a318df268c7752410938cdaa01c60cc569dbdba8 (patch) | |
tree | 0b72177fc7ed0ec493287c121034bfa453eee630 | |
parent | ee44309901378937114eb6e5e7ae4dbceee0f1c5 (diff) | |
download | git-buildpackage-a318df268c7752410938cdaa01c60cc569dbdba8.tar.gz git-buildpackage-a318df268c7752410938cdaa01c60cc569dbdba8.tar.bz2 git-buildpackage-a318df268c7752410938cdaa01c60cc569dbdba8.zip |
UpstreamSource: suppress stderr from tar in _determine_prefix()
Change-Id: I3a0e51de2114e2aa9f9a12c41a9ed4c242fa2127
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | gbp/pkg/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/pkg/__init__.py b/gbp/pkg/__init__.py index 9c54c86d..4e99efe9 100644 --- a/gbp/pkg/__init__.py +++ b/gbp/pkg/__init__.py @@ -420,7 +420,7 @@ class UpstreamSource(object): files.append((typ, info.filename)) elif self._archive_fmt == 'tar': popen = subprocess.Popen(['tar', '-t', '-v', '-f', self.path], - stdout=subprocess.PIPE) + stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, _err = popen.communicate() if popen.returncode: raise GbpError("Listing tar archive content failed") |