Might as well fix this too

This commit is contained in:
Dag Wieërs 2012-07-12 16:46:53 +02:00
parent f36c6c8c5b
commit 7db49a8048

View file

@ -132,5 +132,5 @@ class InventoryParserYaml(object):
if host not in grouped_hosts: if host not in grouped_hosts:
ungrouped.add_host(host) ungrouped.add_host(host)
# make sure ungrouped_hosts is the complement of grouped_hosts # make sure ungrouped.hosts is the complement of grouped_hosts
ungrouped_hosts = [host for host in ungrouped.hosts if host not in grouped_hosts] ungrouped_hosts = [host for host in ungrouped.hosts if host not in grouped_hosts]