avoid circular import of spack.patch
Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
This commit is contained in:
parent
4005ae8651
commit
97f868a54e
@ -805,7 +805,7 @@ def tag_index(self) -> spack.tag.TagIndex:
|
||||
return self._tag_index
|
||||
|
||||
@property
|
||||
def patch_index(self) -> spack.patch.PatchCache:
|
||||
def patch_index(self) -> "spack.patch.PatchCache":
|
||||
"""Merged PatchIndex from all Repos in the RepoPath."""
|
||||
if self._patch_index is None:
|
||||
self._patch_index = spack.patch.PatchCache(repository=self)
|
||||
@ -1158,7 +1158,7 @@ def tag_index(self) -> spack.tag.TagIndex:
|
||||
return self.index["tags"]
|
||||
|
||||
@property
|
||||
def patch_index(self) -> spack.patch.PatchCache:
|
||||
def patch_index(self) -> "spack.patch.PatchCache":
|
||||
"""Index of patches and packages they're defined on."""
|
||||
return self.index["patches"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user