Some typo fixes

This commit is contained in:
Stefan Ritter 2009-11-16 08:00:41 +01:00
parent 9197630601
commit ea64a53ba3
1 changed files with 5 additions and 5 deletions

View File

@ -182,7 +182,7 @@ if cname and ctext and ctitle:
content = open(entries_dir + ctitle + '.comments', "w")
content.close()
except:
errorpage('not writable entries_dir')
errorpage('Entries_directory not writable!')
comments_file = glob.glob(entries_dir + ctitle + '.comments')
try:
content = open(comments_file[0], "a+")
@ -199,7 +199,7 @@ if cname and ctext and ctitle:
smtp.sendmail(blog_title, mail_to, msg)
smtp.quit()
except:
errorpage('commentsfile seems not to be writable!')
errorpage('Commentsfile not to be writable!')
# Read entries and store their title and timestamp
entries = []
@ -223,7 +223,7 @@ if feed_display == "atom":
blog_title_md5sum = generate_uuid(blog_title)
title_md5sum = generate_uuid(title)
# Atom need a 2byte string
# Atom needs a 2byte string
month = str(date[1])
day = str(date[2])
hour = str(date[3])