From 02089ed52ec89dc07b4c772b472f177ea16d97ba Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Wed, 2 Apr 2003 04:23:47 +0000 Subject: Backport: scanlists(): Fix -w option by repairing a typo. Closes SF bug #710678 by Richard Barrett, who also provided the patch. --- bin/find_member | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin/find_member') 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 -- cgit v1.2.3