From 7ae9780e3e844c67ee0f71a4c6e42bc14300c99a Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Tue, 17 May 2016 16:20:46 +0200 Subject: [PATCH] daklib: kill unused utils.known_hashes Its last use seems to have been removed in 90885e3cbeee73afe199d6c77cd8d4e58cedf5ac. Signed-off-by: Julien Cristau --- daklib/utils.py | 4 ---- 1 file changed, 4 deletions(-) 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. -- 2.39.5