bindist: use append as a method, not assignable attr (#35379)

This commit is contained in:
Scott Wittenburg 2023-02-08 01:42:28 -07:00 committed by GitHub
parent f5ed18f6a3
commit 9bde77199c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,10 +294,12 @@ def update_spec(self, spec, found_list):
cur_entry["spec"] = new_entry["spec"]
break
else:
current_list.append = {
"mirror_url": new_entry["mirror_url"],
"spec": new_entry["spec"],
}
current_list.append(
{
"mirror_url": new_entry["mirror_url"],
"spec": new_entry["spec"],
}
)
def update(self, with_cooldown=False):
"""Make sure local cache of buildcache index files is up to date.