Commit b190ea4b by Tim Bielawa

Fix parse_hosts to not blow up on ungrouped hosts.

parent a57f7ae0
......@@ -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:
......
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