Chris Withers wrote:
Hey All,

How do I subscribe a susbcriber to ObjectModifiedEvent but not ContainerModifiedEvent?

I have a subscriber that is currently subscribed to IObjectModifiedEvent, but as a result it's getting called when objects are added and removed whereas I only want it when the container is actually getting modified.

def handler(event):
    if IContainerModifiedEvent.providedBy(event):


Acquisition is a jealous mistress

Zope3-users mailing list

Reply via email to