File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ def _task_queue_func(self) -> None:
5555 return
5656 try :
5757 task ()
58- except BaseException as e :
59- _logger .exception ("Unhandled exception running task" )
58+ except BaseException as e : # noqa: B036
59+ _logger .exception ("Unhandled exception running task" , exc_info = e )
6060 self .error = e
6161 finally :
6262 with self .lock :
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def hide_nodejs(temp_dir: Path) -> str:
6565 os .symlink (os .path .join (dirname , entry ), new_dir / entry )
6666 paths .append (str (new_dir ))
6767 dirname_path = Path (dirname )
68- for path in paths :
68+ for path in list ( paths ) :
6969 if Path (path ).resolve () == dirname_path :
7070 paths .remove (path )
7171 return ":" .join (paths )
You can’t perform that action at this time.
0 commit comments