hi team,
I am not sure that disconnect_all() works correctly for task marked as
@parallel
Following is code snippet -
@parallel
def diagnoseTransaction():
with hide('stdout', 'stderr'):
output = run(command)
main.py:
execute(diagnoseTransaction,hosts=hosts_transaction)
disconnect_all()
In the console I see all the commands ran but I never saw
'Disconnecting message' in the console.
While if I remove @parallel decorator and then if I run the same code
then I do see 'Disconnecting messages' in the console.
Am I missing something or ?
Thanks,
Ankur
--
https://mail.python.org/mailman/listinfo/python-list