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

Jim Fulton jim at zope.com
Fri Sep 12 16:46:55 EDT 2003


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

Modified Files:
      Tag: parentgeddon-branch
	copypastemove.py 
Log Message:
merged Folder and RootFolder

=== Zope3/src/zope/app/copypastemove.py 1.10.24.4 => 1.10.24.5 ===
--- Zope3/src/zope/app/copypastemove.py:1.10.24.4	Fri Sep 12 16:25:20 2003
+++ Zope3/src/zope/app/copypastemove.py	Fri Sep 12 16:46:24 2003
@@ -74,7 +74,7 @@
         Returns True if it can be moved there. Otherwise, returns
         false.
         '''
-        return obj.__parent__.__class__ is target.__class__ 
+        return self.context.__parent__.__class__ is target.__class__ 
 
 class ObjectCopier:
 




More information about the Zope3-Checkins mailing list