From 2623e7a1a92d4bd0820d717d9ffe1ac5266834d9 Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Thu, 9 Jan 2025 11:58:17 -0800 Subject: [PATCH] Manifest v9 is identical to v8, per coworker --- bikeshed/update/updateWpt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bikeshed/update/updateWpt.py b/bikeshed/update/updateWpt.py index 32296e467b..fd4130528a 100644 --- a/bikeshed/update/updateWpt.py +++ b/bikeshed/update/updateWpt.py @@ -21,9 +21,9 @@ def update(path: str, dryRun: bool = False) -> set[str] | None: m.die("Can't figure out the WPT data version. Please report this to the maintainer!") return None - if jsonData["version"] != 8: + if jsonData["version"] not in (8, 9): m.die( - f"Bikeshed currently only knows how to handle WPT v8 manifest data, but got v{jsonData['version']}. Please report this to the maintainer!", + f"Bikeshed currently only knows how to handle WPT v8 or v9 manifest data, but got v{jsonData['version']}. Please report this to the maintainer!", ) return None