From cb0a683dd978b0a10018c2ebad97f952625ff1c3 Mon Sep 17 00:00:00 2001 From: Deimos Date: Tue, 8 Oct 2019 20:58:12 -0600 Subject: [PATCH] Remove unused Topic.type_for_display property --- tildes/tildes/models/topic/topic.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tildes/tildes/models/topic/topic.py b/tildes/tildes/models/topic/topic.py index afd3b70..3d7e76f 100644 --- a/tildes/tildes/models/topic/topic.py +++ b/tildes/tildes/models/topic/topic.py @@ -355,16 +355,6 @@ class Topic(DatabaseModel): """Return whether this is a link topic.""" return self.topic_type is TopicType.LINK - @property - def type_for_display(self) -> str: - """Return a string of the topic's type, suitable for display.""" - if self.is_text_type: - return "Text" - elif self.is_link_type: - return "Link" - - return "Topic" - @property def link_domain(self) -> str: """Return the link's domain (for link topics only)."""