from daklib import utils
from daklib.regexes import re_html_escaping, html_escaping
-################################################################################
-### work around bug #487902 in debian-python 0.1.10
-deb822.Changes._multivalued_fields = {
- "files": [ "md5sum", "size", "section", "priority", "name" ],
- "checksums-sha1": ["sha1", "size", "name"],
- "checksums-sha256": ["sha256", "size", "name"],
- }
-
################################################################################
row_number = 1
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.