[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/event/ Added missing attributes.

Jim Fulton jim at zope.com
Wed Apr 26 14:49:34 EDT 2006


Log message for revision 67626:
  Added missing attributes.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/event/interfaces.py
  U   Zope3/branches/jim-adapter/src/zope/app/event/objectevent.py

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/event/interfaces.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/event/interfaces.py	2006-04-26 18:49:31 UTC (rev 67625)
+++ Zope3/branches/jim-adapter/src/zope/app/event/interfaces.py	2006-04-26 18:49:33 UTC (rev 67626)
@@ -5,3 +5,9 @@
     'zope.lifecycleevent.interfaces',
     "Zope 3.5",
     )
+
+import zope.deferredimport
+zope.deferredimport.deprecated(
+    "IObjectEvent has moved to zope.component.interfaces",
+    IObjectEvent = 'zope.component.interfaces:IObjectEvent',
+    )

Modified: Zope3/branches/jim-adapter/src/zope/app/event/objectevent.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/event/objectevent.py	2006-04-26 18:49:31 UTC (rev 67625)
+++ Zope3/branches/jim-adapter/src/zope/app/event/objectevent.py	2006-04-26 18:49:33 UTC (rev 67626)
@@ -5,3 +5,15 @@
     'zope.lifecycleevent',
     "Zope 3.5",
     )
+
+import zope.deferredimport
+zope.deferredimport.deprecated(
+    "It has moved to zope.component.interfaces.  This reference will be "
+    "gone in Zope 3.5.",
+    ObjectEvent = 'zope.component.interfaces:ObjectEvent',
+    )
+zope.deferredimport.deprecated(
+    "It has moved to zope.component.event.  This reference will be gone "
+    "in Zope 3.5",
+    objectEventNotify = 'zope.component.event:objectEventNotify',
+    )



More information about the Zope3-Checkins mailing list