Update of /cvsroot/mailman/mailman/Mailman/Queue
In directory usw-pr-cvs1:/tmp/cvs-serv1601
Modified Files:
BounceRunner.py
Log Message:
_dispose(): We need to iterate over the addrs list. Also, reload the
list's state via xlist.Load() -- conservative if the state hasn't
changed.
Index: BounceRunner.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Queue/BounceRunner.py,v
retrieving revision 2.13
retrieving revision 2.14
diff -C2 -d -r2.13 -r2.14
*** BounceRunner.py 1 Apr 2002 16:32:18 -0000 2.13
--- BounceRunner.py 1 Apr 2002 16:46:17 -0000 2.14
***************
*** 95,114 ****
for listname in Utils.list_names():
xlist = self._open_list(listname)
! if xlist.isMember(addr):
! unlockp = 0
! if not xlist.Locked():
try:
! xlist.Lock(timeout=mm_cfg.LIST_LOCK_TIMEOUT)
! except LockFile.TimeOutError:
! # Oh well, forget aboutf this list
! continue
! unlockp = 1
! try:
! xlist.registerBounce(addr, msg)
! found = 1
! xlist.Save()
! finally:
! if unlockp:
! xlist.Unlock()
else:
try:
--- 95,116 ----
for listname in Utils.list_names():
xlist = self._open_list(listname)
! xlist.Load()
! for addr in addrs:
! if xlist.isMember(addr):
! unlockp = 0
! if not xlist.Locked():
! try:
! xlist.Lock(timeout=mm_cfg.LIST_LOCK_TIMEOUT)
! except LockFile.TimeOutError:
! # Oh well, forget aboutf this list
! continue
! unlockp = 1
try:
! xlist.registerBounce(addr, msg)
! found = 1
! xlist.Save()
! finally:
! if unlockp:
! xlist.Unlock()
else:
try:
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins