diff options
author | bwarsaw <> | 2003-04-02 04:23:47 +0000 |
---|---|---|
committer | bwarsaw <> | 2003-04-02 04:23:47 +0000 |
commit | 02089ed52ec89dc07b4c772b472f177ea16d97ba (patch) | |
tree | bacada7f2708186eebacc3191a8c68f13fe94f8f /bin | |
parent | f1e25440177401a6ce95f294f588fb74776584a0 (diff) | |
download | mailman2-02089ed52ec89dc07b4c772b472f177ea16d97ba.tar.gz mailman2-02089ed52ec89dc07b4c772b472f177ea16d97ba.tar.xz mailman2-02089ed52ec89dc07b4c772b472f177ea16d97ba.zip |
Backport:
scanlists(): Fix -w option by repairing a typo. Closes SF bug #710678
by Richard Barrett, who also provided the patch.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find_member | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/find_member b/bin/find_member index 0656d500..3d440de5 100755 --- a/bin/find_member +++ b/bin/find_member @@ -1,19 +1,19 @@ #! @PYTHON@ # -# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software +# along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """Find all lists that a member's address is on. @@ -111,11 +111,11 @@ def scanlists(options): matches[addr] = entries for owner in owners: if cre.search(owner): - entries = matches.get(addr, {}) + entries = matches.get(owner, {}) aswhat = entries.get(listname, 0) aswhat |= AS_OWNER entries[listname] = aswhat - matches[addr] = entries + matches[owner] = entries return matches |