diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-01-22 15:44:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 14:44:13 +0000 |
commit | b28692dc723fa74a19d0b0795b46176b2dc59c5c (patch) | |
tree | e4d88366c44cab4dbc311b6e4944ca1517ce4aa0 /lib | |
parent | dee0f138b853a3ed98cce5533d5fbd2dafd91d24 (diff) | |
download | spack-b28692dc723fa74a19d0b0795b46176b2dc59c5c.tar.gz spack-b28692dc723fa74a19d0b0795b46176b2dc59c5c.tar.bz2 spack-b28692dc723fa74a19d0b0795b46176b2dc59c5c.tar.xz spack-b28692dc723fa74a19d0b0795b46176b2dc59c5c.zip |
repo.py: pass package name not fully qualified package name (#42217)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/repo.py b/lib/spack/spack/repo.py index c4aa991b5d..307654d328 100644 --- a/lib/spack/spack/repo.py +++ b/lib/spack/spack/repo.py @@ -490,7 +490,7 @@ class TagIndexer(Indexer): self.index = spack.tag.TagIndex.from_json(stream, self.repository) def update(self, pkg_fullname): - self.index.update_package(pkg_fullname) + self.index.update_package(pkg_fullname.split(".")[-1]) def write(self, stream): self.index.to_json(stream) |