fix: persist canceled batch reports while native cleanup continues
This commit is contained in:
1 parent
becaf2e8e4
commit
7d9a107921
2 files changed
+36
-2
No files matched your search
@@ -1960,8 +1960,9 @@ class MainWindow(QWidget):
|
||||
'detail': result.stderr or result.stdout}))
|
||||
report = None
|
||||
try:
|
||||
report = BatchTaskContext(str(library)).run(lambda:
|
||||
write_batch_report(requests, results, self.data_root/'reports'))
|
||||
report_root = self.data_root/'reports'
|
||||
report = BatchTaskContext(str(report_root), native_policy='restricted').run(
|
||||
lambda: write_batch_report(requests, results, report_root))
|
||||
if maintenance:
|
||||
from cbb_refresh_verify.icdb_maintenance import write_maintenance_report
|
||||
write_maintenance_report(requests, results, report, ())
|
||||
|
||||
Reference in new issue
Block a user