Make sure _lookup_repo_storages_by_content_checksum operates over a set
This commit is contained in:
parent
69c306e740
commit
7688a3e348
1 changed files with 2 additions and 0 deletions
|
@ -453,6 +453,8 @@ class SharedModel:
|
|||
return None
|
||||
|
||||
def _lookup_repo_storages_by_content_checksum(self, repo, checksums, by_manifest=False):
|
||||
checksums = set(checksums)
|
||||
|
||||
# Load any shared storages first.
|
||||
extra_storages = []
|
||||
for checksum in list(checksums):
|
||||
|
|
Reference in a new issue