This commit is contained in:
Kevin Veen-Birkenbach committed 2026-08-02 09:10:55 +02:00
1 parent 95c34d4db0
commit 2e0e67ca87
10 files changed
+79 -25

No files matched your search

+3 -1
View File
@@ -25,7 +25,9 @@ GENERATION = f"{VERSIONS}/20260731"
def shell(command: str) -> list[str]:
proc = subprocess.run(command, shell=True, capture_output=True, text=True)
if proc.returncode != 0:
raise SnapshotError(f"{command} exited {proc.returncode}: {proc.stderr.strip()}")
raise SnapshotError(
f"{command} exited {proc.returncode}: {proc.stderr.strip()}"
)
return proc.stdout.splitlines()