From fc300723da042127eb22a6df527652734888e6e1 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 7 May 2012 21:46:45 -0400 Subject: [PATCH] Revert "fix indentation" This reverts commit 42b55a07cd132c1b55379908d4c353edeae648cb. --- lib/ansible/inventory.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/inventory.py b/lib/ansible/inventory.py index a279c080b2..21e11a1b47 100644 --- a/lib/ansible/inventory.py +++ b/lib/ansible/inventory.py @@ -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