diff roundup/mailgw.py @ 3155:57b60bda9473

Python 2.3 minimum version - bye bye roundup.rlog, you had a short life.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 14 Feb 2005 02:48:12 +0000
parents a25de53435b1
children cfe7d8cb9794
line wrap: on
line diff
--- a/roundup/mailgw.py	Mon Feb 14 00:11:36 2005 +0000
+++ b/roundup/mailgw.py	Mon Feb 14 02:48:12 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.160 2005-01-03 02:52:00 richard Exp $
+$Id: mailgw.py,v 1.161 2005-02-14 02:48:10 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)

Roundup Issue Tracker: http://roundup-tracker.org/