summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/mail/parsing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/askbot/mail/parsing.py b/askbot/mail/parsing.py
index 2dd8199f..6d664bcc 100644
--- a/askbot/mail/parsing.py
+++ b/askbot/mail/parsing.py
@@ -55,7 +55,8 @@ def strip_email_client_quote_separator(text):
if regex.search(text):
return regex.sub('', text)
#did not find a quote separator!!! log it
- sys.stderr.write('no quote separator: %s\n' % text)
+ log_message = 'no matching quote separator: %s\n' % text
+ sys.stdout.write(log_message.encode('utf-8'))
return text
def extract_reply_contents(text, reply_separator=None):