Merge pull request #27291 from khrisrichardson/remove-dup-cmd_ret

Fixes https://github.com/saltstack/salt/pull/26355/files#r37261911
This commit is contained in:
Justin Findlay 2015-09-21 21:25:47 -06:00
commit 0dd68f73eb

View File

@ -379,7 +379,6 @@ def function(
).format(fun, tgt, str(False))
ret['result'] = None
return ret
cmd_ret = __salt__['saltutil.cmd'](tgt, fun, **cmd_kw)
try:
cmd_ret = __salt__['saltutil.cmd'](tgt, fun, **cmd_kw)
except Exception as exc: