summaryrefslogtreecommitdiffstats
path: root/askbot/models/post.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-03-23 00:23:40 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-03-23 00:23:40 -0400
commitde09ca2920edb24f8cedf34b795d5870cd9aeb0a (patch)
tree111488626cfd23efc5fa93a77334e8c2205d0e55 /askbot/models/post.py
parentefc6101f165b48f588d47b73fd5cfb355f5816a6 (diff)
downloadaskbot-de09ca2920edb24f8cedf34b795d5870cd9aeb0a.tar.gz
askbot-de09ca2920edb24f8cedf34b795d5870cd9aeb0a.tar.bz2
askbot-de09ca2920edb24f8cedf34b795d5870cd9aeb0a.zip
fixed bugs to pass the test cases
Diffstat (limited to 'askbot/models/post.py')
-rw-r--r--askbot/models/post.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/models/post.py b/askbot/models/post.py
index cd8301b8..0cc7b0ac 100644
--- a/askbot/models/post.py
+++ b/askbot/models/post.py
@@ -614,6 +614,7 @@ class Post(models.Model):
output += '<p>%s</p>' % comments_heading
for comment in comments:
output += comment.format_for_email(quote_level = 1)
+ return output
else:
return ''