]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'jcristau/known-hashes'
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 18 May 2016 15:21:42 +0000 (17:21 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 18 May 2016 15:21:42 +0000 (17:21 +0200)
daklib/utils.py

index 206ee0b89abcaf7ee2cdb67ecebdd70aa1a4e02d..6e7fc06992fb3ad23ee136371fc47bff59d33e79 100644 (file)
@@ -72,10 +72,6 @@ default_config = "/etc/dak/dak.conf"     #: default dak config, defines host pro
 alias_cache = None        #: Cache for email alias checks
 key_uid_email_cache = {}  #: Cache for email addresses from gpg key uids
 
-# (hashname, function, earliest_changes_version)
-known_hashes = [("sha1", apt_pkg.sha1sum, (1, 8)),
-                ("sha256", apt_pkg.sha256sum, (1, 8))] #: hashes we accept for entries in .changes/.dsc
-
 # Monkeypatch commands.getstatusoutput as it may not return the correct exit
 # code in lenny's Python. This also affects commands.getoutput and
 # commands.getstatus.