diff options
| author | Barry Warsaw | 2008-03-27 05:14:14 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2008-03-27 05:14:14 -0400 |
| commit | 17f286de64cb3373d68c4fefba6d9369b4e3f960 (patch) | |
| tree | 5078531044f0574dfa340a389bd6d0bb9eea717f /mailman/queue/archive.py | |
| parent | de9deb660c5d48a083f0c56916cca6aa0cb010b3 (diff) | |
| download | mailman-17f286de64cb3373d68c4fefba6d9369b4e3f960.tar.gz mailman-17f286de64cb3373d68c4fefba6d9369b4e3f960.tar.zst mailman-17f286de64cb3373d68c4fefba6d9369b4e3f960.zip | |
Diffstat (limited to 'mailman/queue/archive.py')
| -rw-r--r-- | mailman/queue/archive.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mailman/queue/archive.py b/mailman/queue/archive.py index f17e6b751..47627a04e 100644 --- a/mailman/queue/archive.py +++ b/mailman/queue/archive.py @@ -19,6 +19,7 @@ from __future__ import with_statement +import os import time from email.Utils import parsedate_tz, mktime_tz, formatdate @@ -68,5 +69,5 @@ class ArchiveRunner(Runner): # Always put an indication of when we received the message. msg['X-List-Received-Date'] = receivedtime # While a list archiving lock is acquired, archive the message. - with Lock(os.path.join(mlist.full_path, 'archive.lck')): + with Lock(os.path.join(mlist.data_path, 'archive.lck')): mlist.ArchiveMail(msg) |
