]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/config.py
Consolidate warning configuration even more.
[dak.git] / daklib / config.py
index 18ce9b721baba1db1e40c4f43154603164cdb2b1..284cf1cca207e28294e360678fddca15fa3f3405 100755 (executable)
@@ -43,10 +43,7 @@ warnings.filterwarnings('ignore', \
     "Attribute '.*' of the 'apt_pkg.*' object is deprecated, use '.*' instead\.", \
     DeprecationWarning)
 warnings.filterwarnings('ignore', \
-    "apt_pkg\.newConfiguration\(\) is deprecated\. Use apt_pkg\.Configuration\(\) instead\.", \
-    DeprecationWarning)
-warnings.filterwarnings('ignore', \
-    "apt_pkg\.ParseTagFile\(\) is deprecated\. Please see apt_pkg\.TagFile\(\) for the replacement\.", \
+    "apt_pkg.*\(\) is deprecated\. Please see apt_pkg.*\(\) for the replacement\.", \
     DeprecationWarning)
 
 ################################################################################