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:
55
55
return
56
56
try :
57
57
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 )
60
60
self .error = e
61
61
finally :
62
62
with self .lock :
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def hide_nodejs(temp_dir: Path) -> str:
65
65
os .symlink (os .path .join (dirname , entry ), new_dir / entry )
66
66
paths .append (str (new_dir ))
67
67
dirname_path = Path (dirname )
68
- for path in paths :
68
+ for path in list ( paths ) :
69
69
if Path (path ).resolve () == dirname_path :
70
70
paths .remove (path )
71
71
return ":" .join (paths )
You can’t perform that action at this time.
0 commit comments