summaryrefslogtreecommitdiff
path: root/mailman/queue/archive.py
diff options
context:
space:
mode:
Diffstat (limited to 'mailman/queue/archive.py')
-rw-r--r--mailman/queue/archive.py3
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)