change return to yield, more to come

This commit is contained in:
Thomas S Hatch 2012-03-05 16:30:26 -07:00
parent e59c9fbd99
commit bae51edae4

View File

@ -213,7 +213,7 @@ class LocalClient(object):
timeout=timeout)
if pub_data['jid'] == 0:
print 'Failed to connect to the Master, is the Salt Master running?'
return {}
yield {}
for fn_ret in self.get_cli_returns(pub_data['jid'],
pub_data['minions'],
timeout,