You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my fabfile, one of the commands early on may fail. In normal, serial mode I get typical failure output, in parallel mode however, the program aborts with a KeyError exception. I do not know why the 'results' key in the ran_jobs dictionary may not always be defined. But that appears to be a problem for the following code in fabric/tasks.py's execute method.
ran_jobs=jobs.run()
forname, dinran_jobs.iteritems():
importpprintpprint.pprint(d)
ifd['exit_code'] !=0:
# Problem here, results may not be defined.ifisinstance(d['results'], BaseException):
error(err, exception=d['results'])
else:
error(err)
results[name] =d['results']
The text was updated successfully, but these errors were encountered:
In my fabfile, one of the commands early on may fail. In normal, serial mode I get typical failure output, in parallel mode however, the program aborts with a KeyError exception. I do not know why the 'results' key in the ran_jobs dictionary may not always be defined. But that appears to be a problem for the following code in fabric/tasks.py's
execute
method.The text was updated successfully, but these errors were encountered: