Skip to content

Commit a6bc036

Browse files
committed
archiver
1 parent a2b8af0 commit a6bc036

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Mailman/Archiver/Archiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def ExternalArchive(self, ar, txt):
188188
#
189189
def ArchiveMail(self, msg):
190190
"""Store postings in mbox and/or pipermail archive, depending."""
191-
from Mailman import syslog
191+
from Mailman.Logging.Syslog import syslog
192192
syslog('debug', 'Archiver: Starting ArchiveMail for list %s', self.internal_name())
193193

194194
# Fork so archival errors won't disrupt normal list delivery

Mailman/Handlers/ToArchive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
def process(mlist, msg, msgdata):
2929
# DEBUG: Log archiver processing start
30-
from Mailman import syslog
30+
from Mailman.Logging.Syslog import syslog
3131
syslog('debug', 'ToArchive: Starting archive processing for list %s', mlist.internal_name())
3232

3333
# short circuits

Mailman/Queue/ArchRunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class ArchRunner(Runner):
3030
QDIR = mm_cfg.ARCHQUEUE_DIR
3131

3232
def _dispose(self, mlist, msg, msgdata):
33-
from Mailman import syslog
33+
from Mailman.Logging.Syslog import syslog
3434
syslog('debug', 'ArchRunner: Starting archive processing for list %s', mlist.internal_name())
3535

3636
# Support clobber_date, i.e. setting the date in the archive to the

Mailman/Queue/Switchboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def whichq(self):
100100
return self.__whichq
101101

102102
def enqueue(self, _msg, _metadata={}, **_kws):
103-
from Mailman import syslog
103+
from Mailman.Logging.Syslog import syslog
104104
# Calculate the SHA hexdigest of the message to get a unique base
105105
# filename. We're also going to use the digest as a hash into the set
106106
# of parallel qrunner processes.

0 commit comments

Comments
 (0)