From: Ansgar Burchardt Date: Fri, 17 Aug 2012 14:26:29 +0000 (+0200) Subject: daklib/archive.py: silence output when unpacking source X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=4156593e3095380f647b68c420b90b1ef8943f77 daklib/archive.py: silence output when unpacking source --- diff --git a/daklib/archive.py b/daklib/archive.py index bc67c2d9..77f400b4 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