[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Stupid warning messages!



Signed-off-by: Torsten Werner <twerner@debian.org>
---
 daklib/config.py |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/daklib/config.py b/daklib/config.py
index fef7512..ed8cf1d 100755
--- a/daklib/config.py
+++ b/daklib/config.py
@@ -39,12 +39,7 @@ default_config = "/etc/dak/dak.conf" #: default dak config, defines host propert
 # suppress some deprecation warnings in squeeze related to apt_pkg
 # module
 import warnings
-warnings.filterwarnings('ignore', \
-    "Attribute '.*' of the 'apt_pkg.*' object is deprecated, use '.*' instead\.", \
-    DeprecationWarning)
-warnings.filterwarnings('ignore', \
-    "apt_pkg.*\(\) is deprecated\. .* apt_pkg.*\(\) for the replacement\.", \
-    DeprecationWarning)
+warnings.filterwarnings('ignore', ".*apt_pkg.* is deprecated.*", DeprecationWarning)
 
 ################################################################################
 
-- 
1.7.2.5


Reply to: