fix indents

This commit is contained in:
Michael DeHaan 2012-08-11 12:20:16 -04:00
parent c9a5ce3685
commit 72faf8eb0a
3 changed files with 5 additions and 4 deletions

View file

@ -397,7 +397,8 @@ class PlaybookCallbacks(object):
while True:
result = prompt(msg, private)
second = prompt("confirm " + msg, private)
if result == second: break
if result == second:
break
print "***** VALUES ENTERED DO NOT MATCH ****"
else:
result = prompt(msg, private)

View file

@ -121,7 +121,7 @@ class Inventory(object):
# exclude hosts mentioned in any restriction (ex: failed hosts)
if self._restriction is not None:
hosts = [ h for h in hosts if h.name in self._restriction ]
hosts = [ h for h in hosts if h.name in self._restriction ]
return hosts

View file

@ -46,8 +46,8 @@ class Play(object):
''' constructor loads from a play datastructure '''
for x in ds.keys():
if not x in Play.VALID_KEYS:
raise errors.AnsibleError("%s is not a legal parameter in an Ansible Playbook" % x)
if not x in Play.VALID_KEYS:
raise errors.AnsibleError("%s is not a legal parameter in an Ansible Playbook" % x)
# TODO: more error handling