summaryrefslogtreecommitdiff
path: root/Mailman/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Utils.py')
-rw-r--r--Mailman/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Utils.py b/Mailman/Utils.py
index a112daeeb..22e183074 100644
--- a/Mailman/Utils.py
+++ b/Mailman/Utils.py
@@ -245,7 +245,7 @@ def map_maillists(func, names=None, unlock=None, verbose=0):
if verbose: print i,
l = MailList(i)
if verbose: print
- if unlock:
+ if unlock and l.Locked():
l.Unlock()
got.append(apply(func, (l,)))
if verbose: print got[-1]