From: Torsten Werner Date: Wed, 5 Jan 2011 20:11:35 +0000 (+0100) Subject: remove useless "aliases" entry in Keyring X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=c3940037c396c5ba9648dba3a37d3b8904eb6eb1;p=dak.git remove useless "aliases" entry in Keyring Signed-off-by: Torsten Werner --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 25ba49e1..1de3674d 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -1340,15 +1340,12 @@ class Keyring(object): self.keys[key] = {"email": addr} if name != "": self.keys[key]["name"] = name - self.keys[key]["aliases"] = [name] self.keys[key]["fingerprints"] = [] signingkey = True elif key and field[0] == "sub" and len(field) >= 12: signingkey = ("s" in field[11]) elif key and field[0] == "uid": (name, addr) = email.Utils.parseaddr(field[9]) - if name and name not in self.keys[key]["aliases"]: - self.keys[key]["aliases"].append(name) elif signingkey and field[0] == "fpr": self.keys[key]["fingerprints"].append(field[9]) self.fpr_lookup[field[9]] = key