Revision 3570
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/parallelproc.py | ||
---|---|---|
71 | 71 |
import multiprocessing |
72 | 72 |
import multiprocessing.pool |
73 | 73 |
except ImportError, e: |
74 |
warnings.warn(UserWarning('Not using parallel processing: '+str(e))) |
|
75 | 74 |
processes = 1 |
76 | 75 |
Pool_ = SyncPool |
77 | 76 |
Queue_ = Queue.Queue |
Also available in: Unified diff
parallelproc.py: MultiProducerPool: Removed warning if not using parallel processing because this also gets generated when it's explicitly turned off, which is currently the case and clutters up stderr when testing