aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-02-20 19:15:28 -0800
committerBrian Dolbec <dolsen@gentoo.org>2017-02-20 19:18:51 -0800
commit195bea73e1195b824eabdeb411713801f17d11a6 (patch)
tree73b9eac507dad35cd3e404da2c53d1c6df00dd07
parentmain.py: Fix Bytes error in hosts list bug 610016 (diff)
downloadmirrorselect-195bea73e1195b824eabdeb411713801f17d11a6.tar.gz
mirrorselect-195bea73e1195b824eabdeb411713801f17d11a6.tar.bz2
mirrorselect-195bea73e1195b824eabdeb411713801f17d11a6.zip
extractor.py: Add climit param for >=ssl-fetch-0.4
-rw-r--r--mirrorselect/extractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/extractor.py b/mirrorselect/extractor.py
index 06dce6c..dca8302 100644
--- a/mirrorselect/extractor.py
+++ b/mirrorselect/extractor.py
@@ -115,7 +115,7 @@ class Extractor(object):
}
fetcher = Connector(connector_output, self.proxies, USERAGENT)
- success, mirrorlist, timestamp = fetcher.fetch_content(url)
+ success, mirrorlist, timestamp = fetcher.fetch_content(url, climit=60)
parser.parse(mirrorlist)
if (not mirrorlist) or len(parser.tuples()) == 0: