Skip to content

Commit

Permalink
Make containers list, map can only be iterated once
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Jan 6, 2019
1 parent 4a307ac commit a6a186a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/deps/requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def parse_requirements_from_xml(xml_root):
if requirements_elem is not None:
container_elems = requirements_elem.findall('container')

containers = map(container_from_element, container_elems)
containers = [container_from_element(c) for c in container_elems]

return requirements, containers

Expand Down

0 comments on commit a6a186a

Please sign in to comment.