From b426d2a2026ef60d4dd043bde0ecef627cb1008a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adeodato=20Sim=C3=B3?= Date: Tue, 20 May 2008 17:43:00 +0200 Subject: [PATCH] Make hints['approved'] also a dictionary. --- britney.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney.py b/britney.py index abe238c..ae1264d 100644 --- a/britney.py +++ b/britney.py @@ -746,7 +746,7 @@ class Britney: 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]) - 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 = {} for a, b in hints[x]: if z.has_key(a) and z[a] != b: