Remove an unwanted FIXME annotation

<crab> jimi|ansible: do you think it should be possible to add both
       foo:22 and foo:23 to the inventory?
<jimi|ansible> no

…so we don't want an invitation to FIXME.
pull/12584/head
Abhijit Menon-Sen 9 years ago
parent 946c56657b
commit 93515468c4

@ -288,8 +288,7 @@ class InventoryParser(object):
# Note that we decide whether or not to create a Host based solely on # Note that we decide whether or not to create a Host based solely on
# the (non-)existence of its hostname in self.hosts. This means that one # the (non-)existence of its hostname in self.hosts. This means that one
# cannot add both "foo:22" and "foo:23" to the inventory. This behaviour # cannot add both "foo:22" and "foo:23" to the inventory.
# is preserved for now, but this may be an easy FIXME.
for hn in hostnames: for hn in hostnames:
if hn not in self.hosts: if hn not in self.hosts:

Loading…
Cancel
Save