Merge pull request #74 from tbielawa/ungrouped

Fix parse_hosts to not blow up on ungrouped hosts.
pull/3/head
Michael DeHaan 13 years ago
commit 3c20f4000f

@ -112,6 +112,7 @@ class Runner(object):
host_list = os.path.expanduser(host_list)
lines = file(host_list).read().split("\n")
groups = {}
groups['ungrouped'] = []
group_name = 'ungrouped'
results = []
for item in lines:

Loading…
Cancel
Save