Fix improper checking of "skip_branch_up_to_date"
This commit is contained in:
parent
6c0aa0abdd
commit
ef2daa1c85
1 changed files with 7 additions and 2 deletions
|
@ -1836,8 +1836,13 @@ if __name__ == "__main__":
|
||||||
pkg_state[entry["name"]]["other_deps"] = entry["other_deps"]
|
pkg_state[entry["name"]]["other_deps"] = entry["other_deps"]
|
||||||
else:
|
else:
|
||||||
pkg_state[entry["name"]]["other_deps"] = []
|
pkg_state[entry["name"]]["other_deps"] = []
|
||||||
if "skip_branch_up_to_date" in entry and not (
|
if (
|
||||||
not args.no_skip is None and entry["name"] in args.no_skip
|
"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
|
pkg_state[entry["name"]]["skip_branch_up_to_date"] = True
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue