diff options
author | Scott Wittenburg <scott.wittenburg@kitware.com> | 2023-02-08 01:42:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 09:42:28 +0100 |
commit | 9bde77199c5f8e162e3212b7c6821085dbf6e75a (patch) | |
tree | dbfdb7e3c87c3c1ae65afac5a47b728b6682e042 | |
parent | f5ed18f6a3b58cd4e32a2d2c7ae56dfd18d6de69 (diff) | |
download | spack-9bde77199c5f8e162e3212b7c6821085dbf6e75a.tar.gz spack-9bde77199c5f8e162e3212b7c6821085dbf6e75a.tar.bz2 spack-9bde77199c5f8e162e3212b7c6821085dbf6e75a.tar.xz spack-9bde77199c5f8e162e3212b7c6821085dbf6e75a.zip |
bindist: use append as a method, not assignable attr (#35379)
-rw-r--r-- | lib/spack/spack/binary_distribution.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py index bc3b0089a7..e848c67a3a 100644 --- a/lib/spack/spack/binary_distribution.py +++ b/lib/spack/spack/binary_distribution.py @@ -294,10 +294,12 @@ class BinaryCacheIndex(object): 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. |