diff options
| author | bwarsaw | 2003-05-02 03:45:31 +0000 |
|---|---|---|
| committer | bwarsaw | 2003-05-02 03:45:31 +0000 |
| commit | cb71e15ef27c145eede8dc3a858c401c70d9cd19 (patch) | |
| tree | 66223579587fbb1b8690117a03b6c8bd3819e7bd /cron | |
| parent | 02167afde8ff94c8cb39959488df4ca62eca0940 (diff) | |
| download | mailman-cb71e15ef27c145eede8dc3a858c401c70d9cd19.tar.gz mailman-cb71e15ef27c145eede8dc3a858c401c70d9cd19.tar.zst mailman-cb71e15ef27c145eede8dc3a858c401c70d9cd19.zip | |
Diffstat (limited to 'cron')
| -rwxr-xr-x | cron/mailpasswds | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cron/mailpasswds b/cron/mailpasswds index 348ca3363..88bb624d9 100755 --- a/cron/mailpasswds +++ b/cron/mailpasswds @@ -142,7 +142,15 @@ def main(): continue # Group by the lower-cased address, since Mailman always # treates person@dom.ain the same as PERSON@dom.ain. - password = mlist.getMemberPassword(member) + try: + password = mlist.getMemberPassword(member) + except Errors.NotAMemberError: + # Here's a member with no passwords, which I think was + # possible in older versions of Mailman. Log this and + # move on. + syslog('error', 'password-less member %s for list %s', + member, mlist.internal_name()) + continue optionsurl = mlist.GetOptionsURL(member) lang = mlist.getMemberLanguage(member) info = (listaddr, password, optionsurl, lang) |
