Fix parse_hosts to not blow up on ungrouped hosts.

This commit is contained in:
Tim Bielawa 2012-03-05 14:09:01 -05:00
parent a57f7ae010
commit b190ea4b62

View file

@ -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: