[entropy.cache] EntropyCacher: reset excepthook when running inside child process
This commit is contained in:
@@ -167,6 +167,8 @@ class EntropyCacher(Singleton):
|
||||
|
||||
pid = os.fork()
|
||||
if pid == 0:
|
||||
# make sure there's nothing weird bound to exception hook
|
||||
sys.excepthook = sys.__excepthook__
|
||||
for (key, cache_dir), data in massive_data:
|
||||
d_o = entropy.dump.dumpobj
|
||||
if d_o is not None:
|
||||
|
||||
Reference in New Issue
Block a user