diff options
Diffstat (limited to 'lib')
-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. |