[dak/master] daklib: kill unused utils.known_hashes
Its last use seems to have been removed in
90885e3cbeee73afe199d6c77cd8d4e58cedf5ac.
Signed-off-by: Julien Cristau <jcristau@debian.org>
---
daklib/utils.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/daklib/utils.py b/daklib/utils.py
index 206ee0b..6e7fc06 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.1.4
Reply to: