[dak/master] daklib/archive.py: silence output when unpacking source
---
daklib/archive.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/daklib/archive.py b/daklib/archive.py
index bc67c2d..77f400b 100644
--- a/daklib/archive.py
+++ b/daklib/archive.py
@@ -672,7 +672,8 @@ class ArchiveUpload(object):
sourcedir = os.path.join(self.directory, 'source')
if not os.path.exists(sourcedir):
- subprocess.check_call(["dpkg-source", "--no-copy", "-x", dsc_path, sourcedir], shell=False)
+ devnull = open('/dev/null', 'w')
+ subprocess.check_call(["dpkg-source", "--no-copy", "--no-check", "-x", dsc_path, sourcedir], shell=False, stdout=devnull)
if not os.path.isdir(sourcedir):
raise Exception("{0} is not a directory after extracting source package".format(sourcedir))
return sourcedir
--
1.7.2.5
Reply to: