Page MenuHomeSoftware Heritage

D8276.diff
No OneTemporary

D8276.diff

diff --git a/swh/indexer/metadata_dictionary/nuget.py b/swh/indexer/metadata_dictionary/nuget.py
--- a/swh/indexer/metadata_dictionary/nuget.py
+++ b/swh/indexer/metadata_dictionary/nuget.py
@@ -13,7 +13,7 @@
from swh.indexer.namespaces import SCHEMA
from swh.indexer.storage.interface import Sha1
-from .base import DictMapping, DirectoryLsEntry, SingleFileIntrinsicMapping
+from .base import BaseIntrinsicMapping, DictMapping, DirectoryLsEntry
NUGET_TABLE_PATH = os.path.join(_DATA_DIR, "nuget.csv")
@@ -21,7 +21,7 @@
(CODEMETA_TERMS, NUGET_TABLE) = _read_crosstable(fd)
-class NuGetMapping(DictMapping, SingleFileIntrinsicMapping):
+class NuGetMapping(DictMapping, BaseIntrinsicMapping):
"""
dedicated class for NuGet (.nuspec) mapping and translation
"""

File Metadata

Mime Type
text/plain
Expires
Dec 20 2024, 5:04 PM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218815

Event Timeline