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