projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c254a3
)
UpstreamSource: suppress stderr from tar in _determine_prefix()
author
Markus Lehtonen
<markus.lehtonen@linux.intel.com>
Wed, 3 Dec 2014 15:37:51 +0000
(17:37 +0200)
committer
Jun Wang
<junbill.wang@samsung.com>
Fri, 29 Jan 2016 11:44:54 +0000
(19:44 +0800)
Change-Id: I3a0e51de2114e2aa9f9a12c41a9ed4c242fa2127
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/pkg/__init__.py
patch
|
blob
|
history
diff --git
a/gbp/pkg/__init__.py
b/gbp/pkg/__init__.py
index
941b0f6
..
8162286
100644
(file)
--- a/
gbp/pkg/__init__.py
+++ b/
gbp/pkg/__init__.py
@@
-359,7
+359,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")