Fixed some indentions

This commit is contained in:
Stefan Ritter 2009-10-21 15:43:17 +02:00
parent 4e7b90d677
commit 6450122338

View File

@ -144,8 +144,8 @@ if static_display: static_display = re.sub('/', '', static_display)
post_display = action.getvalue('p') post_display = action.getvalue('p')
if post_display: if post_display:
post_display = re.sub(' ', '-', post_display) post_display = re.sub(' ', '-', post_display)
post_display = re.sub('/', '', post_display) post_display = re.sub('/', '', post_display)
allentries_display = action.getvalue('a') allentries_display = action.getvalue('a')
feed_display = action.getvalue('feed') feed_display = action.getvalue('feed')
@ -456,9 +456,9 @@ else:
for line in comments_content: for line in comments_content:
if line.split(".", 1)[0] == "-": if line.split(".", 1)[0] == "-":
if notfirstline == 1: if notfirstline == 1:
print ' </div>' print ' </div>'
print ' </div>' print ' </div>'
notfirstline = 0; notfirstline = 0;
print ' <div class="comment">' print ' <div class="comment">'
print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>' print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>'
elif line.split(".", 1)[0] == "+": elif line.split(".", 1)[0] == "+":