Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124123
D8276.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
793 B
Subscribers
None
D8276.diff
View Options
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
Details
Attached
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
Attached To
D8276: nuget: Inherit directly from BaseIntrinsicMapping
Event Timeline
Log In to Comment