Skip to content

Commit bbe47c5

Browse files
committed
Fix DataRepository population for cluster
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 4d5c917 commit bbe47c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aboutcode/federated/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -754,8 +754,7 @@ def populate_repos(self):
754754
drbpt = self._data_repositories_by_purl_type
755755

756756
for ptc in self.purl_type_configs:
757-
for repo in ptc.get_repos(data_kind=kind):
758-
drbpt[ptc.purl_type] = repo
757+
drbpt[ptc.purl_type] = [repo for repo in ptc.get_repos(data_kind=kind)]
759758

760759
@classmethod
761760
def from_dict(cls, data: dict) -> "DataCluster":

0 commit comments

Comments
 (0)