]> git.seodisparate.com - AnotherAURHelper/commitdiff
Fix improper checking of "skip_branch_up_to_date"
authorStephen Seo <seo.disparate@gmail.com>
Thu, 12 Oct 2023 02:28:40 +0000 (11:28 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 12 Oct 2023 02:28:40 +0000 (11:28 +0900)
update.py

index 46ac150079264b09a1384017c07a2e5ebdb7881c..8f2c3d55c3c2e6afd3fabd5b40504db8f12bd7be 100755 (executable)
--- a/update.py
+++ b/update.py
@@ -1836,8 +1836,13 @@ if __name__ == "__main__":
                 pkg_state[entry["name"]]["other_deps"] = entry["other_deps"]
             else:
                 pkg_state[entry["name"]]["other_deps"] = []
-            if "skip_branch_up_to_date" in entry and not (
-                not args.no_skip is None and entry["name"] in args.no_skip
+            if (
+                "skip_branch_up_to_date" in entry
+                and type(entry["skip_branch_up_to_date"]) is bool
+                and entry["skip_branch_up_to_date"]
+                and not (
+                    not args.no_skip is None and entry["name"] in args.no_skip
+                )
             ):
                 pkg_state[entry["name"]]["skip_branch_up_to_date"] = True
             else: