]> git.decadent.org.uk Git - dak.git/blobdiff - dak/examine_package.py
Suppress warnings in the most suitable files.
[dak.git] / dak / examine_package.py
index 5b247f0cf61ee1e9c1cb9b69a4e9e434bf85724a..0e1b34ff23ee9b86802af1668c7d574b868e34a1 100755 (executable)
@@ -42,6 +42,12 @@ to stdout. Those functions can be used in multithreaded parts of dak.
 
 ################################################################################
 
+# suppress some deprecation warnings in squeeze related to md5 module
+import warnings
+warnings.filterwarnings('ignore', \
+    "the md5 module is deprecated; use hashlib instead", \
+    DeprecationWarning)
+
 import errno
 import os
 import re