From: Julien Cristau Date: Tue, 17 May 2016 14:20:46 +0000 (+0200) Subject: daklib: kill unused utils.known_hashes X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7ae9780e3e844c67ee0f71a4c6e42bc14300c99a;p=dak.git daklib: kill unused utils.known_hashes Its last use seems to have been removed in 90885e3cbeee73afe199d6c77cd8d4e58cedf5ac. Signed-off-by: Julien Cristau --- diff --git a/daklib/utils.py b/daklib/utils.py index 206ee0b8..6e7fc069 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -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.