Minor pep8 cleanup and CHANGELOG update for do-until

This commit is contained in:
James Cammarata 2013-09-25 15:50:24 -05:00
commit 994dfb84fc
2 changed files with 3 additions and 2 deletions

View file

@ -675,11 +675,11 @@ class Runner(object):
result.result['attempts'] = x
vv("Result from run %i is: %s" % (x, result.result))
if not result.comm_ok:
break;
break
inject[self.module_vars.get('register')] = result.result
cond = template.template(self.basedir, until, inject, expand_lists=False)
if utils.check_conditional(cond, self.basedir, inject, fail_on_undefined=self.error_on_undefined_vars):
break;
break
else:
result.result['attempts'] = 0
conn.close()