From 4156593e3095380f647b68c420b90b1ef8943f77 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Fri, 17 Aug 2012 16:26:29 +0200 Subject: [PATCH] daklib/archive.py: silence output when unpacking source --- daklib/archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5