commands.py: raise the exception instead of returning is if --disable-multiprocessing is given.

This commit is contained in:
Valentin Lorentz 2013-08-09 17:48:53 +02:00
parent 573d4a0158
commit 536ec37037

View File

@ -99,7 +99,7 @@ def process(f, *args, **kwargs):
try: try:
return f(*args, **kwargs) return f(*args, **kwargs)
except Exception as e: except Exception as e:
return e raise e
q = multiprocessing.Queue() q = multiprocessing.Queue()
def newf(f, q, *args, **kwargs): def newf(f, q, *args, **kwargs):