X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Fqueue.py;h=ef781f19e6c24fcdad659349e6669f6d231b0596;hb=3f673e29a7eccfbf1ef4f162dfe5bc40af84cd81;hp=2b7f52048a29d2a055fcce91faba825d29bc548c;hpb=e98394a6dc4c67289397547a487b72650faa3f2d;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 2b7f5204..ef781f19 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -56,16 +56,6 @@ from textutils import fix_maintainer from lintian import parse_lintian_output, generate_reject_messages from contents import UnpackedSource -# 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 '.*' of the 'apt_pkg\.TagSection' object is deprecated, use '.*' instead\.", \ - DeprecationWarning) - ############################################################################### def get_type(f, session):