1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Revert "fix indentation"

This reverts commit 42b55a07cd132c1b55379908d4c353edeae648cb.
This commit is contained in:
Michael DeHaan 2012-05-07 21:46:45 -04:00
parent e1914a0e62
commit fc300723da

View file

@ -88,8 +88,8 @@ class Inventory(object):
def get_host(self, hostname):
for group in self.groups:
for host in group.get_hosts():
if hostname == host.name:
for host in group.get_hosts():
if hostname == host.name:
return host
return None