bindist: use append as a method, not assignable attr (#35379)
This commit is contained in:
parent
f5ed18f6a3
commit
9bde77199c
1 changed files with 6 additions and 4 deletions
|
@ -294,10 +294,12 @@ def update_spec(self, spec, found_list):
|
||||||
cur_entry["spec"] = new_entry["spec"]
|
cur_entry["spec"] = new_entry["spec"]
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
current_list.append = {
|
current_list.append(
|
||||||
|
{
|
||||||
"mirror_url": new_entry["mirror_url"],
|
"mirror_url": new_entry["mirror_url"],
|
||||||
"spec": new_entry["spec"],
|
"spec": new_entry["spec"],
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
def update(self, with_cooldown=False):
|
def update(self, with_cooldown=False):
|
||||||
"""Make sure local cache of buildcache index files is up to date.
|
"""Make sure local cache of buildcache index files is up to date.
|
||||||
|
|
Loading…
Reference in a new issue