Merge pull request #37 from kived/patch-1

Make multiprocessing optional, again
This commit is contained in:
Alex Grönholm 2015-05-12 09:31:32 +03:00
commit 9eb69a38ff
1 changed files with 2 additions and 3 deletions

View File

@ -20,6 +20,5 @@ import sys
try:
from concurrent.futures.process import ProcessPoolExecutor
except ImportError:
# Jython doesn't have multiprocessing
if not sys.platform.startswith('java'):
raise
# some platforms don't have multiprocessing
pass