Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Commit

Permalink
Properly split on tabs instead of spaces in mulled-build-files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed May 18, 2017
1 parent faf5289 commit 10b1cf3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions galaxy/tools/deps/mulled/mulled_build_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def main(argv=None):
targets,
image_build=image_build,
name_override=name_override,
rebuild=False,
**args_to_mull_targets_kwds(args)
)
except BuildExistsException:
Expand Down Expand Up @@ -76,7 +75,7 @@ def line_to_targets(line_str):


def _parse_line(line_str):
line_parts = line_str.split(" ")
line_parts = line_str.split("\t")
assert len(line_parts) < 3, "Too many fields in line [%s], expect at most 3 - targets, image build number, and name override." % line_str
line_parts += [None] * (3 - len(line_parts))
return _Line(*line_parts)
Expand Down

0 comments on commit 10b1cf3

Please sign in to comment.