summaryrefslogtreecommitdiffstats
path: root/askbot/startup_procedures.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-21 19:30:02 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-04-21 19:30:21 -0400
commit08a4b7328036c0d27c03418c9933e89465c7dec3 (patch)
tree8e63e6e03e157998ddefa94424f91529ef7c66ec /askbot/startup_procedures.py
parent637052ee0353087af95eb0b9dc0754c875db30f4 (diff)
downloadaskbot-08a4b7328036c0d27c03418c9933e89465c7dec3.tar.gz
askbot-08a4b7328036c0d27c03418c9933e89465c7dec3.tar.bz2
askbot-08a4b7328036c0d27c03418c9933e89465c7dec3.zip
forced utf8 encoding on all stderr printing
Diffstat (limited to 'askbot/startup_procedures.py')
-rw-r--r--askbot/startup_procedures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/startup_procedures.py b/askbot/startup_procedures.py
index 76893eff..d91464f4 100644
--- a/askbot/startup_procedures.py
+++ b/askbot/startup_procedures.py
@@ -45,7 +45,7 @@ class AskbotConfigError(ImproperlyConfigured):
def askbot_warning(line):
"""prints a warning with the nice header, but does not quit"""
- print >> sys.stderr, line
+ print >> sys.stderr, unicode(line).encode('utf-8')
def print_errors(error_messages, header = None, footer = None):
"""if there is one or more error messages,