From ef2daa1c85d424bf7cb8623d93b5775f1c681857 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 12 Oct 2023 11:28:40 +0900 Subject: [PATCH] Fix improper checking of "skip_branch_up_to_date" --- update.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/update.py b/update.py index 46ac150..8f2c3d5 100755 --- 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: