diff gpp/forums/tools.py @ 316:767cedc7d12a

Fixing #144; integrate with new Django logging support. Also added unit tests for Donations app.
author Brian Neal <bgneal@gmail.com>
date Sun, 30 Jan 2011 20:02:32 +0000
parents 8fd4984d5c3b
children d1b11096595b
line wrap: on
line diff
--- a/gpp/forums/tools.py	Sat Jan 29 20:39:55 2011 +0000
+++ b/gpp/forums/tools.py	Sun Jan 30 20:02:32 2011 +0000
@@ -91,7 +91,7 @@
     try:
         forum = Forum.objects.get(slug=forum_slug)
     except Forum.DoesNotExist:
-        logging.error('could not create_topic for forum_slug=%s' % forum_slug)
+        logging.error('could not create_topic for forum_slug=%s', forum_slug)
         raise
 
     topic = Topic(forum=forum,