Commit e3414b6f authored by Julien Muchembled's avatar Julien Muchembled

debug: fix 'app' when using pdb in stress tool

parent c611c48f
......@@ -13,8 +13,12 @@ import sys
def app_set():
try:
return sys.modules['neo.lib.threaded_app'].app_set
app_set = sys.modules['neo.lib.threaded_app'].app_set
except KeyError:
pass
else:
if app_set:
return app_set
f = sys._getframe(4)
try:
while f.f_code.co_name != 'run' or \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment