[tor-commits] [oonib/master] Should be break; not continue
art at torproject.org
art at torproject.org
Wed Sep 11 09:13:52 UTC 2013
commit 9d61639c0f2783c37bb1037d55d7670bc43e7d01
Author: aagbsn <aagbsn at extc.org>
Date: Mon Sep 9 14:58:55 2013 +0200
Should be break; not continue
---
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 710eb6c..5033fad 100644
--- a/oonib/bouncer/handlers.py
+++ b/oonib/bouncer/handlers.py
@@ -96,7 +96,7 @@ class Bouncer(object):
for item in response.values():
if item['collector'] in choices.keys():
choice = item
- continue
+ break
# Or default to a random selection
else:
c,h = random.choice(choices.items())
More information about the tor-commits
mailing list