From c0b54eb3e24a99560f5be9205f700f546721eefe Mon Sep 17 00:00:00 2001 From: Rishi Diwan Date: Mon, 21 Aug 2023 11:27:38 +0530 Subject: [PATCH] Removed unusued method --- core/feed_protocol/serializer/opds2.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/core/feed_protocol/serializer/opds2.py b/core/feed_protocol/serializer/opds2.py index a1bc98f612..cdc8773f98 100644 --- a/core/feed_protocol/serializer/opds2.py +++ b/core/feed_protocol/serializer/opds2.py @@ -67,20 +67,3 @@ def _serialize_link(self, link: Link): if link.type: serialized["type"] = link.type return serialized - - # def _serialize_feed_entry(self, feed_entry: FeedEntryType) -> dict: - # metadata = {} - # links = [] - # images = [] - - # for attrib, value in feed_entry: - # if isinstance(value, list): - # for item in value: - # metadata[attrib] = self._serialize_feed_entry(item) - # elif isinstance(value, FeedEntryType): - # metadata[attrib] = self._serialize_feed_entry(value) - # else: - # metadata[attrib] = value - # print(attrib, value, metadata) - - # return metadata