summaryrefslogtreecommitdiff
path: root/mailman/bin
diff options
context:
space:
mode:
authorBarry Warsaw2008-03-27 05:14:14 -0400
committerBarry Warsaw2008-03-27 05:14:14 -0400
commit17f286de64cb3373d68c4fefba6d9369b4e3f960 (patch)
tree5078531044f0574dfa340a389bd6d0bb9eea717f /mailman/bin
parentde9deb660c5d48a083f0c56916cca6aa0cb010b3 (diff)
downloadmailman-17f286de64cb3373d68c4fefba6d9369b4e3f960.tar.gz
mailman-17f286de64cb3373d68c4fefba6d9369b4e3f960.tar.zst
mailman-17f286de64cb3373d68c4fefba6d9369b4e3f960.zip
Added a test of the OutgoingRunner, and subsequent changes to make it pass,
including: - MailingList.full_path -> IMailingList.data_path and implement this as a property on the MailingList object. - Fix the 'decorate' handler to work with the new member/user data model, instead of the old MemberAdaptor interface. - Fix a few problems with the smtp-direct handler, though this needs more work and tests. - Add some debug logging to both the test smtplistener and the SMTPServer proxy. Fix the proxy's consumption of messages from the thread queue. - Fix the smtplistener's calculation of the X-Peer header.
Diffstat (limited to 'mailman/bin')
-rw-r--r--mailman/bin/arch.py2
-rw-r--r--mailman/bin/senddigests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mailman/bin/arch.py b/mailman/bin/arch.py
index 883ab29e1..5254179e4 100644
--- a/mailman/bin/arch.py
+++ b/mailman/bin/arch.py
@@ -115,7 +115,7 @@ def main():
# really don't know how long it will take.
#
# XXX processUnixMailbox() should refresh the lock.
- lock_path = os.path.join(mlist.full_path, '.archiver.lck')
+ lock_path = os.path.join(mlist.data_path, '.archiver.lck')
with Lock(lock_path, lifetime=int(hours(3))):
# Maybe wipe the old archives
if opts.wipe:
diff --git a/mailman/bin/senddigests.py b/mailman/bin/senddigests.py
index de424ab9b..8c5ca4f64 100644
--- a/mailman/bin/senddigests.py
+++ b/mailman/bin/senddigests.py
@@ -72,7 +72,7 @@ def main():
print >> sys.stderr, \
'List: %s: problem processing %s:\n%s' % \
(listname,
- os.path.join(mlist.full_path(), 'digest.mbox'),
+ os.path.join(mlist.data_path, 'digest.mbox'),
errmsg)
finally:
mlist.Unlock()