email: Convert LOG.critical() to LOG.debug() in _decode_header()
authorW. Trevor King <wking@tremily.us>
Sun, 14 Apr 2013 11:14:42 +0000 (07:14 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 14 Apr 2013 11:14:42 +0000 (07:14 -0400)
I'd added this to help troubleshoot the function when I was writing
it, but obviously the content is not generally critical ;).

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/email.py

index a5818cd995e0047f44930d797ca9c549c1627ffc..7418c8d728f47ae8b3e19d5f4981ae789928781b 100644 (file)
@@ -177,7 +177,7 @@ def _decode_header(header):
     if isinstance(header, _Header):
         return str(header)
     chunks = []
-    _LOG.critical(_email_header.decode_header(header))
+    _LOG.debug(_email_header.decode_header(header))
     for chunk,charset in _email_header.decode_header(header):
         if charset is None:
             if isinstance(chunk, bytes):