We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eda729 commit 7572e99Copy full SHA for 7572e99
planemo/shed2tap/base.py
@@ -2,6 +2,7 @@
2
3
from xml.etree import ElementTree
4
5
+from six.moves import map as imap
6
from six.moves.urllib.request import urlretrieve
7
from six.moves.urllib.error import URLError
8
from six import string_types
@@ -204,7 +205,7 @@ def parse_actions(self, actions):
204
205
architecture = actions.get("architecture", None)
206
action_els = actions.findall("action")
207
assert action_els is not None
- parsed_actions = map(self.parse_action, action_els)
208
+ parsed_actions = list(imap(self.parse_action, action_els))
209
action_packages = []
210
for package in actions.findall("package"):
211
action_packages.append(self.parse_action_package(package))
0 commit comments