Skip to content

Commit de978d4

Browse files
committed
test: accept indented backup lines in release smoke
1 parent d62d38e commit de978d4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/smoke_release.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,11 @@ def run_sync(binary_path: pathlib.Path, codex_home: pathlib.Path) -> pathlib.Pat
362362
raise RuntimeError(f"sync skipped rollout metadata rewrites\n\n{output}")
363363

364364
backup_line = next(
365-
(line for line in output.splitlines() if line.startswith("Backup: ")),
365+
(
366+
line.strip()
367+
for line in output.splitlines()
368+
if line.strip().startswith("Backup: ")
369+
),
366370
None,
367371
)
368372
if backup_line is None:

0 commit comments

Comments
 (0)