summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index cc8011f9c..4ebf0dc7f 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -261,7 +261,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
"""Set transient variables of this and inherited classes."""
self.__createlock_p = lock
self.__lock = LockFile.LockFile(
- os.path.join(mm_cfg.LOCK_DIR, name) + '.lock',
+ os.path.join(mm_cfg.LOCK_DIR, name or '<site>') + '.lock',
# TBD: is this a good choice of lifetime?
lifetime = 60)
self._internal_name = name