extract_all: nested extraction failures must quarantine relative to out root
This commit is contained in:
@@ -129,7 +129,7 @@ def expand_nested(dest: Path, out_root: Path, manifest, src_root: Path,
|
||||
ok, err = extract(p, stem_dir)
|
||||
if not ok:
|
||||
log.error("FAILED nested extraction %s: %s", p, err)
|
||||
move_to_broken(p, out_root, src_root, err)
|
||||
move_to_broken(p, out_root, out_root, err)
|
||||
continue
|
||||
manifest.write(f"{json_line(p.relative_to(out_root), stem_dir)}\n")
|
||||
done.add(str(stem_dir.relative_to(out_root)))
|
||||
|
||||
Reference in New Issue
Block a user