X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fexamine_package.py;h=0e1b34ff23ee9b86802af1668c7d574b868e34a1;hb=de5723ed7d5687460fa2a816f27dae67293c45e6;hp=5b247f0cf61ee1e9c1cb9b69a4e9e434bf85724a;hpb=4e514e56a317d099acbc2dcb4a57561ee5df3fb6;p=dak.git diff --git a/dak/examine_package.py b/dak/examine_package.py index 5b247f0c..0e1b34ff 100755 --- a/dak/examine_package.py +++ b/dak/examine_package.py @@ -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