Commit 8107c4ef by James Cammarata

Fixing a bug in galaxy parsing of text spec file lines

parent 7a815b72
......@@ -318,7 +318,7 @@ class GalaxyCLI(CLI):
# roles listed in a file, one per line
for rline in f.readlines():
self.display.debug('found role %s in text file' % str(rline))
role = RoleRequirement.role_yaml_parse(rline)
role = RoleRequirement.role_yaml_parse(rline.strip())
roles_left.append(GalaxyRole(self.galaxy, **role))
f.close()
except (IOError, OSError) as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment