aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-10-15 07:36:49 -0700
committerBrian Dolbec <dolsen@gentoo.org>2013-10-15 07:36:49 -0700
commit43f851f0e50b7bc0a97165b6f4b953cd9ae19085 (patch)
treef78726dd7278e5861efd8fec6cd8e0f8acf1a2ff /mirrorselect
parentMove the filtering code back into Extractor class (diff)
downloadmirrorselect-43f851f0e50b7bc0a97165b6f4b953cd9ae19085.tar.gz
mirrorselect-43f851f0e50b7bc0a97165b6f4b953cd9ae19085.tar.bz2
mirrorselect-43f851f0e50b7bc0a97165b6f4b953cd9ae19085.zip
add a missed continue to optimize the loop
Diffstat (limited to 'mirrorselect')
-rw-r--r--mirrorselect/selectors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py
index df9dcd7..1c2deb2 100644
--- a/mirrorselect/selectors.py
+++ b/mirrorselect/selectors.py
@@ -93,6 +93,7 @@ class Extractor(object):
for f in filters:
if data[f] != filters[f]:
good = False
+ continue
if good:
filtered.append((uri, data))
return filtered