[Zope3-checkins] CVS: Zope3/src/zope/app - copypastemove.py:1.17

Philipp von Weitershausen philikon at philikon.de
Wed Mar 3 05:39:01 EST 2004


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv7814

Modified Files:
	copypastemove.py 
Log Message:
Moved container interfaces from zope.app.interfaces.container to
zope.app.container.interfaces.


=== Zope3/src/zope/app/copypastemove.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/copypastemove.py:1.16	Wed Feb 25 18:02:14 2004
+++ Zope3/src/zope/app/copypastemove.py	Wed Mar  3 05:38:29 2004
@@ -12,10 +12,11 @@
 #
 ##############################################################################
 """
-
-Revision information:
 $Id$
 """
+from zope.interface import implements, Invalid
+from zope.exceptions import NotFoundError, DuplicationError
+from zope.proxy import removeAllProxies
 
 from zope.app import zapi
 from zope.app.container.sample import SampleContainer
@@ -23,13 +24,9 @@
 from zope.app.event.objectevent import ObjectCopiedEvent
 from zope.app.interfaces.copypastemove import IObjectMover
 from zope.app.interfaces.copypastemove import IObjectCopier
-from zope.app.interfaces.container import INameChooser
 from zope.app.location import locationCopy
-from zope.interface import implements
-from zope.exceptions import NotFoundError, DuplicationError
-from zope.proxy import removeAllProxies
+from zope.app.container.interfaces import INameChooser
 from zope.app.container.constraints import checkObject
-from zope.interface import Invalid
 
 class ObjectMover:
     """Adapter for moving objects between containers
@@ -119,7 +116,7 @@
     ...         "Add an item"
     ...     __setitem__.precondition = preNoZ
 
-    >>> from zope.app.interfaces.container import IContainer
+    >>> from zope.app.container.interfaces import IContainer
     >>> class C1:
     ...     zope.interface.implements(I1, IContainer)
     ...     def __repr__(self):
@@ -307,7 +304,7 @@
     ...         "Add an item"
     ...     __setitem__.precondition = preNoZ
 
-    >>> from zope.app.interfaces.container import IContainer
+    >>> from zope.app.container.interfaces import IContainer
     >>> class C1:
     ...     zope.interface.implements(I1, IContainer)
     ...     def __repr__(self):




More information about the Zope3-Checkins mailing list