From: Torsten Werner Date: Sun, 20 Mar 2011 22:03:30 +0000 (+0100) Subject: Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c88f4328088bbc4697067e916383814b32ec23d2;hp=55c9457424113af281f88f786042c35dff410d2b;p=dak.git Merge branch 'master' of ftp-master.debian.org:/srv/ftp.debian.org/git/dak --- diff --git a/daklib/queue.py b/daklib/queue.py index bbbf1dfa..a7e2d5a9 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -56,6 +56,16 @@ from textutils import fix_maintainer from binary import Binary from lintian import parse_lintian_output, generate_reject_messages +# suppress some deprecation warnings in squeeze related to apt_pkg +# module +import warnings +warnings.filterwarnings('ignore', \ + "apt_pkg-.ParseSection\(\) is deprecated. Please see apt_pkg\.TagSection\(\) for the replacement\.", \ + DeprecationWarning) +warnings.filterwarnings('ignore', \ + "Attribute 'Find' of the 'apt_pkg\.TagSection' object is deprecated, use 'find' instead\.", \ + DeprecationWarning) + ############################################################################### def get_type(f, session):