diff options
Diffstat (limited to 'modules/mm_utils.py')
| -rw-r--r-- | modules/mm_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mm_utils.py b/modules/mm_utils.py index a112daeeb..22e183074 100644 --- a/modules/mm_utils.py +++ b/modules/mm_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] |
