fix indents

pull/853/head
Michael DeHaan 12 years ago
parent c9a5ce3685
commit 72faf8eb0a

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

@ -121,7 +121,7 @@ class Inventory(object):
# exclude hosts mentioned in any restriction (ex: failed hosts) # exclude hosts mentioned in any restriction (ex: failed hosts)
if self._restriction is not None: 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 return hosts

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

Loading…
Cancel
Save