Skip to content

Commit 9095d8e

Browse files
updates to process and pipe import code...need a way to turn
billiard on/off
1 parent 0f2658d commit 9095d8e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

memory_profiler.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
continue
3737
if use_if_test is None or use_if_test():
3838
try:
39-
from multi_module import Process, Pipe
39+
Process = multi_module.Process
40+
Pipe = multi_module.Pipe
4041
break
41-
except ImportError:
42+
except AttributeError:
4243
continue
4344

4445

0 commit comments

Comments
 (0)