Mercurial > p > roundup > code
diff roundup/mailgw.py @ 3156:e1da7b5b04ab maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 14 Feb 2005 02:55:31 +0000 |
| parents | 35c515c072dd |
| children | f412ae175b4d |
line wrap: on
line diff
--- a/roundup/mailgw.py Mon Feb 14 01:26:14 2005 +0000 +++ b/roundup/mailgw.py Mon Feb 14 02:55:31 2005 +0000 @@ -72,12 +72,12 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.159.2.1 2005-01-03 02:53:41 richard Exp $ +$Id: mailgw.py,v 1.159.2.2 2005-02-14 02:55:30 richard Exp $ """ __docformat__ = 'restructuredtext' import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri -import time, random, sys +import time, random, sys, logging import traceback, MimeWriter, rfc822 from roundup import hyperdb, date, password, rfc2822, exceptions @@ -319,7 +319,7 @@ self.default_class = value.strip() self.mailer = Mailer(instance.config) - self.logger = instance.config.logging.getLogger('mailgw') + self.logger = getLogger('mailgw') # should we trap exceptions (normal usage) or pass them through # (for testing)
