From e2b872c7c60d3935b99c12aaecba85f5190df6df Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 17 Feb 2010 22:02:11 +0100 Subject: pylint: Resolve use of blacklisted built-in funtions --- layman/overlays/overlay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layman/overlays/overlay.py b/layman/overlays/overlay.py index 8a928db..ce19f5e 100644 --- a/layman/overlays/overlay.py +++ b/layman/overlays/overlay.py @@ -130,7 +130,7 @@ class Overlay(object): _location = ensure_unicode(source_elem.text.strip()) return _class(self, xml, config, _location, ignore, quiet) - self.sources = map(create_overlay_source, _sources) + self.sources = [create_overlay_source(e) for e in _sources] _owner = xml.find('owner') -- cgit v1.2.3-1-g7c22