commit: 16c4aebc0a90b98c50f4df58abd63066196cefc7 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Wed May 28 19:43:46 2014 +0000 Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> CommitDate: Wed May 28 19:43:46 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mirrorselect.git;a=commit;h=16c4aebc
Update for recent ssl-fetch changes --- mirrorselect/extractor.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/mirrorselect/extractor.py b/mirrorselect/extractor.py index eb26faf..b9ed15e 100644 --- a/mirrorselect/extractor.py +++ b/mirrorselect/extractor.py @@ -104,7 +104,15 @@ class Extractor(object): self.output.print_info('Downloading a list of mirrors...\n') - fetcher = Connector(self.output, self.proxies, USERAGENT) + # setup the ssl-fetch ouptut map + connector_output = { + 'info':self.output.write, + 'error': self.output.print_err, + 'args-info': {'level': 2}, + 'args-error': {'level':0}, + } + + fetcher = Connector(connector_output, self.proxies, USERAGENT) success, mirrorlist, timestamp = fetcher.fetch_content(url) parser.parse(mirrorlist)