Hi,
On Wed, Mar 28, 2007 at 12:16:23PM +0200, Lorenzo Gil Sanchez wrote:
[snip]
But I'd like to avoid the if clause inside my subscriber function by
doing something similar to this:
def intIdRemovedSubscriber(obj, event):
# do some stuff with obj, which is garanteed to provide
El mié, 28-03-2007 a las 13:39 +0200, Lorenzo Gil Sanchez escribió:
El mié, 28-03-2007 a las 12:50 +0200, FB escribió:
You need a dispatcher - a quite common concept in zope3:
[events.py, not tested]
from zope.event import notify
def removeIntId(event):