summaryrefslogtreecommitdiffstats
path: root/askbot/models/post.py
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/models/post.py')
-rw-r--r--askbot/models/post.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py
index 2f410b27..6b5055de 100644
--- a/askbot/models/post.py
+++ b/askbot/models/post.py
@@ -866,11 +866,8 @@ class Post(models.Model):
def __unicode__(self):
if self.is_question():
return self.thread.title
- elif self.is_answer() or self.is_reject_reason():
+ else:
return self.html
- elif self.is_comment():
- return self.text
- raise NotImplementedError
def save(self, *args, **kwargs):
if self.is_answer() and self.is_anonymous: