From: James Troup Date: Sun, 30 Dec 2007 19:42:37 +0000 (+0000) Subject: [JJ, r=JT] ignore stderr when finding copyright with dpkg-deb X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5147b67a4c51905b6e35927b7a022e063a730d8a;p=dak [JJ, r=JT] ignore stderr when finding copyright with dpkg-deb --- diff --git a/ChangeLog b/ChangeLog index 069f6743..7d6bb401 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-30 Joerg Jaspert + + * dak/examine_package.py (print_copyright): ignore stderr when + finding copyright file. + 2007-12-28 Anthony Towns * daklib/utils.py (check_signature): add NOTATION_DATA and diff --git a/dak/examine_package.py b/dak/examine_package.py index 9cf3d282..383afcec 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -303,7 +303,7 @@ def print_copyright (deb_filename): print "WARNING: wrong doc directory (expected %s, got %s)." % (package, doc_directory) return - o = os.popen("dpkg-deb --fsys-tarfile %s | tar xvOf - %s" % (deb_filename, copyright)) + o = os.popen("dpkg-deb --fsys-tarfile %s | tar xvOf - %s 2>/dev/null" % (deb_filename, copyright)) copyright = o.read() copyrightmd5 = md5.md5(copyright).hexdigest()