Skip to content

Commit 3f06ae2

Browse files
committed
chore: Update cartridge schema verification logic
1 parent 2cac706 commit 3f06ae2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/walk_cartridge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ def verify_walk_cartridge(path):
368368
# anything.
369369
sealed_schema = manifest.get("schema")
370370
if sealed_schema != WALK_CARTRIDGE_SCHEMA:
371-
if sealed_schema == WALK_CARTRIDGE_SCHEMA_V1:
371+
if sealed_schema in (WALK_CARTRIDGE_SCHEMA_V1, WALK_CARTRIDGE_SCHEMA_V2):
372372
raise ValueError(
373373
f"cartridge schema {sealed_schema!r} predates "
374374
f"{WALK_CARTRIDGE_SCHEMA!r}. This is a schema change, not "

0 commit comments

Comments
 (0)