Make hints['approved'] also a dictionary.

bzr-import-20160707
Adeodato Simó 17 years ago
parent 4f33613b13
commit b426d2a202

@ -746,7 +746,7 @@ class Britney:
elif l[0] in ["remove", "approve", "unblock", "force", "urgent"]: elif l[0] in ["remove", "approve", "unblock", "force", "urgent"]:
hints[l[0]].extend([(k.rsplit("/", 1)[0], (k.rsplit("/", 1)[1], who)) for k in l if "/" in k]) hints[l[0]].extend([(k.rsplit("/", 1)[0], (k.rsplit("/", 1)[1], who)) for k in l if "/" in k])
for x in ["block", "block-all", "unblock", "force", "urgent", "remove", "age-days"]: for x in ["approve", "block", "block-all", "unblock", "force", "urgent", "remove", "age-days"]:
z = {} z = {}
for a, b in hints[x]: for a, b in hints[x]:
if z.has_key(a) and z[a] != b: if z.has_key(a) and z[a] != b:

Loading…
Cancel
Save