Commit 42b55a07 by Seth Vidal

fix indentation

parent f41fb90d
...@@ -88,8 +88,8 @@ class Inventory(object): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment