commit 540e30528ddce5dabbb76240d5cbcdfe780c631a Author: Arturo Filastò art@fuffa.org Date: Mon Apr 21 19:23:59 2014 +0200
Fix bug introduce in previous PR. --- oonib/bouncer/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oonib/bouncer/handlers.py b/oonib/bouncer/handlers.py index 0980262..0a5b51f 100644 --- a/oonib/bouncer/handlers.py +++ b/oonib/bouncer/handlers.py @@ -97,7 +97,7 @@ class Bouncer(object): break # Or default to a random selection else: - c = random.choice(choices) + c = random.choice(choices.keys())
response[helper_name] = {'collector': c, 'address': choices[c]}
tor-commits@lists.torproject.org