[Zope3-checkins] CVS: Zope3/src/zope/app/container -
contained.py:1.9 dependency.py:1.11
Philipp von Weitershausen
philikon at philikon.de
Tue Mar 2 13:51:35 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv7455/container
Modified Files:
contained.py dependency.py
Log Message:
Moved event interfaces from zope.app.interfaces.event to
zope.app.event.interfaces.
=== Zope3/src/zope/app/container/contained.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/container/contained.py:1.8 Tue Mar 2 12:51:51 2004
+++ Zope3/src/zope/app/container/contained.py Tue Mar 2 13:50:57 2004
@@ -239,7 +239,7 @@
>>> from zope.app.interfaces.container import IObjectMovedEvent
>>> from zope.component import getService
>>> from zope.app.services.servicenames import Adapters
- >>> from zope.app.interfaces.event import ISubscriber
+ >>> from zope.app.event.interfaces import ISubscriber
>>> factory = objectEventCallbackHelper(
... lambda event: event.object.setAdded(event))
>>> getService(None, Adapters).provideSubscriptionAdapter(
@@ -263,7 +263,7 @@
track the events generated:
>>> from zope.app.event.tests.placelesssetup import getEvents
- >>> from zope.app.interfaces.event import IObjectModifiedEvent
+ >>> from zope.app.event.interfaces import IObjectModifiedEvent
We have an added event:
@@ -466,7 +466,7 @@
>>> from zope.app.event.tests.placelesssetup import getEvents
>>> from zope.app.interfaces.container import IObjectRemovedEvent
- >>> from zope.app.interfaces.event import IObjectModifiedEvent
+ >>> from zope.app.event.interfaces import IObjectModifiedEvent
We'll start by creating a container with an item:
=== Zope3/src/zope/app/container/dependency.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/container/dependency.py:1.10 Thu Aug 21 15:22:38 2003
+++ Zope3/src/zope/app/container/dependency.py Tue Mar 2 13:50:57 2004
@@ -15,12 +15,13 @@
$Id$
"""
+from zope.proxy import removeAllProxies
+from zope.interface import implements
+
from zope.app import zapi
from zope.app.interfaces.dependable import IDependable
from zope.app.interfaces.dependable import DependencyError
-from zope.app.interfaces.event import ISubscriber
-from zope.proxy import removeAllProxies
-from zope.interface import implements
+from zope.app.event.interfaces import ISubscriber
class DependencyChecker:
"""Checking dependency while deleting object
More information about the Zope3-Checkins
mailing list