[Checkins] SVN: zope.intid/trunk/src/zope/intid/interfaces.py Use new-style classes for events.
Dan Korostelev
nadako at gmail.com
Sat Jan 31 15:29:52 EST 2009
Log message for revision 95790:
Use new-style classes for events.
Changed:
U zope.intid/trunk/src/zope/intid/interfaces.py
-=-
Modified: zope.intid/trunk/src/zope/intid/interfaces.py
===================================================================
--- zope.intid/trunk/src/zope/intid/interfaces.py 2009-01-31 20:19:05 UTC (rev 95789)
+++ zope.intid/trunk/src/zope/intid/interfaces.py 2009-01-31 20:29:52 UTC (rev 95790)
@@ -80,7 +80,7 @@
"""
-class IntIdRemovedEvent:
+class IntIdRemovedEvent(object):
"""The event which is published before the unique id is removed
from the utility so that the catalogs can unindex the object.
"""
@@ -102,7 +102,7 @@
idmap = Attribute("The dictionary that holds an (utility -> id) mapping of created ids")
-class IntIdAddedEvent:
+class IntIdAddedEvent(object):
"""The event which gets sent when an object is registered in a
unique id utility.
"""
More information about the Checkins
mailing list