We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc66352 commit 7f4660fCopy full SHA for 7f4660f
nipype/pipeline/plugins/legacymultiproc.py
@@ -92,7 +92,7 @@ class NonDaemonPool(pool.Pool):
92
def Process(self, *args, **kwds):
93
proc = super(NonDaemonPool, self).Process(*args, **kwds)
94
# Monkey-patch newly created processes to ensure they are never daemonized
95
- proc.__class__ = type('NonDaemonProcess', (NonDaemonMixin, proc.__class__), {})
+ proc.__class__ = type(str('NonDaemonProcess'), (NonDaemonMixin, proc.__class__), {})
96
return proc
97
98
0 commit comments