Skip to content

Commit bfe353e

Browse files
author
Thomas Baumann
committed
Fixed flakeheaven complaints maybe?
1 parent d8f68e5 commit bfe353e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pySDC/implementations/controller_classes/controller_nonMPI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def __init__(self, num_procs, controller_params, description):
3939
for _ in range(num_procs - 1):
4040
self.MS.append(dill.copy(self.MS[0]))
4141
# if this fails (e.g. due to un-picklable data in the steps), initialize seperately
42-
except dill.PicklingError and TypeError:
42+
except (dill.PicklingError, TypeError):
4343
self.logger.warning('Need to initialize steps separately due to pickling error')
4444
for _ in range(num_procs - 1):
4545
self.MS.append(stepclass.step(description))

0 commit comments

Comments
 (0)