Merge pull request #9241 from techhat/atfork

Re-init Crypto.Random.atfork() to prevent multiprocessing bugs
This commit is contained in:
Thomas S Hatch 2013-12-13 14:25:24 -08:00
commit a315a8ea1c

View File

@ -1664,6 +1664,9 @@ def run_parallel_map_providers_query(data):
This function will be called from another process when building the
providers map.
'''
import Crypto.Random
Crypto.Random.atfork()
cloud = Cloud(data['opts'])
try:
with context.func_globals_inject(