X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fexamine_package.py;h=0e1b34ff23ee9b86802af1668c7d574b868e34a1;hb=cfc60571b3937364f8f507e8e58e93d90b592016;hp=5b247f0cf61ee1e9c1cb9b69a4e9e434bf85724a;hpb=f0bfd37e7286156598d79b53501ebe2000bb7924;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