repo.py: pass package name not fully qualified package name (#42217)
This commit is contained in:
parent
b107de072b
commit
cb4312996c
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ def read(self, stream):
|
||||||
self.index = spack.tag.TagIndex.from_json(stream, self.repository)
|
self.index = spack.tag.TagIndex.from_json(stream, self.repository)
|
||||||
|
|
||||||
def update(self, pkg_fullname):
|
def update(self, pkg_fullname):
|
||||||
self.index.update_package(pkg_fullname)
|
self.index.update_package(pkg_fullname.split(".")[-1])
|
||||||
|
|
||||||
def write(self, stream):
|
def write(self, stream):
|
||||||
self.index.to_json(stream)
|
self.index.to_json(stream)
|
||||||
|
|
Loading…
Reference in a new issue