File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -492,11 +492,21 @@ def expand_glob_patterns(patterns, root="."):
492492
493493PROJECT_ROOT = os .path .abspath (os .path .dirname (__file__ ))
494494log_file = None
495- file_excludelist = ["get_bottom_toolbar" , "<genexpr>" ]
495+ file_excludelist = {
496+ "get_bottom_toolbar" : True ,
497+ "<genexpr>" : True ,
498+ "is_active" : True ,
499+ "auto_save_session" : True ,
500+ "input_task" : True ,
501+ "output_task" : True ,
502+ }
496503
497504
498505def custom_tracer (frame , event , arg ):
499- import os
506+ try :
507+ import os
508+ except Exception :
509+ return None
500510
501511 global log_file
502512 if not log_file :
@@ -1446,7 +1456,8 @@ async def graceful_exit(coder=None, exit_code=0):
14461456 except Exception :
14471457 pass
14481458
1449- await asyncio .sleep (0.5 )
1459+ # Commenting since this can sometimes case hanging
1460+ # await asyncio.sleep(0.5)
14501461 return exit_code
14511462
14521463
You can’t perform that action at this time.
0 commit comments