summaryrefslogtreecommitdiffstats
path: root/forum/middleware/pagesize.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-31 00:38:18 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2010-05-31 00:38:18 -0400
commitf7348366a34a3e1117fd821e29b01323c9bc794f (patch)
tree6dd1f6f8d04b9adf33b71d2bfc019304a7a20257 /forum/middleware/pagesize.py
parent714311f3d883c6589d278e3e2a05bd1583e4b96d (diff)
downloadaskbot-f7348366a34a3e1117fd821e29b01323c9bc794f.tar.gz
askbot-f7348366a34a3e1117fd821e29b01323c9bc794f.tar.bz2
askbot-f7348366a34a3e1117fd821e29b01323c9bc794f.zip
all forum reader urls are covered by unit tests
Diffstat (limited to 'forum/middleware/pagesize.py')
-rw-r--r--forum/middleware/pagesize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/middleware/pagesize.py b/forum/middleware/pagesize.py
index 626c84e5..39b9d35b 100644
--- a/forum/middleware/pagesize.py
+++ b/forum/middleware/pagesize.py
@@ -33,4 +33,4 @@ class QuestionsPageSizeMiddleware(object):
import traceback
import sys
exc_type, exc_value, exc_traceback = sys.exc_info()
- logging.debug(repr(traceback.extract_tb(exc_traceback)))
+ logging.debug(''.join(traceback.format_tb(exc_traceback)))