diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-21 19:30:02 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-21 19:30:21 -0400 |
commit | 08a4b7328036c0d27c03418c9933e89465c7dec3 (patch) | |
tree | 8e63e6e03e157998ddefa94424f91529ef7c66ec /askbot/tasks.py | |
parent | 637052ee0353087af95eb0b9dc0754c875db30f4 (diff) | |
download | askbot-08a4b7328036c0d27c03418c9933e89465c7dec3.tar.gz askbot-08a4b7328036c0d27c03418c9933e89465c7dec3.tar.bz2 askbot-08a4b7328036c0d27c03418c9933e89465c7dec3.zip |
forced utf8 encoding on all stderr printing
Diffstat (limited to 'askbot/tasks.py')
-rw-r--r-- | askbot/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/tasks.py b/askbot/tasks.py index 8d98be2c..fba4a556 100644 --- a/askbot/tasks.py +++ b/askbot/tasks.py @@ -160,7 +160,7 @@ def record_post_update_celery_task( # HACK: exceptions from Celery job don't propagate upwards # to the Django test runner # so at least let's print tracebacks - print >>sys.stderr, traceback.format_exc() + print >>sys.stderr, unicode(traceback.format_exc()).encode('utf-8') raise @task(ignore_result = True) |