Make sure variable is a dictionary before popping something from it. Fixes #26162

This commit is contained in:
Nitin Madhok 2015-08-10 09:40:08 -04:00
parent 3d04960e71
commit d566e19df4

View File

@ -2218,7 +2218,7 @@ def create_multiprocessing(parallel_data, queue=None):
)
return {parallel_data['name']: {'Error': str(exc)}}
if parallel_data['opts'].get('show_deploy_args', False) is False:
if parallel_data['opts'].get('show_deploy_args', False) is False and isinstance(output, dict):
output.pop('deploy_kwargs', None)
return {