Use 'return' not 'ret'

This commit is contained in:
Colton Myers 2014-12-11 17:09:32 -07:00
parent 64a4950994
commit 155e374584

View File

@ -89,8 +89,8 @@ def _publish(tgt,
if form == 'clean':
cret = {}
for host in rets:
if 'ret' in rets[host]:
cret[host] = rets[host]['ret']
if 'return' in rets[host]:
cret[host] = rets[host]['return']
else:
cret[host] = rets[host]
return cret