[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/event/__init__.py Add another hook for BBB imports of the "from zope.app.event import <module>" kind.

Philipp von Weitershausen philikon at philikon.de
Fri Apr 7 08:40:45 EDT 2006


Log message for revision 66639:
  Add another hook for BBB imports of the "from zope.app.event import <module>" kind.
  

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

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/event/__init__.py
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/event/__init__.py	2006-04-07 12:37:06 UTC (rev 66638)
+++ Zope3/branches/jim-adapter/src/zope/app/event/__init__.py	2006-04-07 12:40:45 UTC (rev 66639)
@@ -16,3 +16,12 @@
 $Id$
 """
 __docformat__ = 'restructuredtext'
+
+import zope.deferredimport
+zope.deferredimport.deprecated(
+    "Event support has been moved to zope.component.event, life cycle events "
+    "to zope.lifecycleevent.  This reference will be gone in Zope 3.5",
+    objectevent = 'zope.lifecycleevent',
+    interfaces = 'zope.lifecycleevent.interfaces',
+    dispatch = 'zope.component.event',
+    )



More information about the Zope3-Checkins mailing list