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

fix indentation

This commit is contained in:
Seth Vidal 2012-05-07 18:10:52 -04:00
parent 279e5e4522
commit cd28d82639

View file

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