mirror of https://github.com/Mikaela/Limnoria.git
commands.py: raise the exception instead of returning is if --disable-multiprocessing is given.
This commit is contained in:
parent
573d4a0158
commit
536ec37037
|
@ -99,7 +99,7 @@ def process(f, *args, **kwargs):
|
|||
try:
|
||||
return f(*args, **kwargs)
|
||||
except Exception as e:
|
||||
return e
|
||||
raise e
|
||||
|
||||
q = multiprocessing.Queue()
|
||||
def newf(f, q, *args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue