]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/queue.py
Consolidate warning configuration even more.
[dak.git] / daklib / queue.py
index 2b7f52048a29d2a055fcce91faba825d29bc548c..ef781f19e6c24fcdad659349e6669f6d231b0596 100755 (executable)
@@ -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):