diff gpp/gcalendar/calendar.py @ 124:9c18250972d5

Refactored the markdown/smiley logic. Created classes for Markdown and Smilify. No longer call render_to_string() in models.py for various models.
author Brian Neal <bgneal@gmail.com>
date Sat, 14 Nov 2009 04:32:32 +0000
parents cce1fc3f8752
children d77e0dc772ad
line wrap: on
line diff
--- a/gpp/gcalendar/calendar.py	Sun Nov 08 21:15:31 2009 +0000
+++ b/gpp/gcalendar/calendar.py	Sat Nov 14 04:32:32 2009 +0000
@@ -86,8 +86,8 @@
                     error = True
 
             if error:
-                err_msgs.append('%s - (%d) %s' % \
-                        (qs[i].title, code, entry.batch_status.reason))
+                err_msgs.append('%s - (%d) %s' % (
+                    qs[i].what, code, entry.batch_status.reason))
 
         if len(err_msgs) > 0:
             raise CalendarError(', '.join(err_msgs))