mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
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:
|
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):
|
||||||
|
Loading…
Reference in New Issue
Block a user