[CMF-checkins] CVS: CMF - migrate_ptk.py:1.3

shane@digicool.com shane@digicool.com
Fri, 6 Apr 2001 12:37:05 -0400 (EDT)


Update of /cvs-repository/CMF/CMFDefault
In directory korak:/tmp/cvs-serv18746

Modified Files:
	migrate_ptk.py 
Log Message:
Fixed _getOb bug.



--- Updated File migrate_ptk.py in package CMF --
--- migrate_ptk.py	2001/03/05 22:33:03	1.2
+++ migrate_ptk.py	2001/04/06 16:37:03	1.3
@@ -79,7 +79,7 @@
     else:
         descend_ok = 0
         res.warnings.append('Could not copy %s' % pathname)
-    if descend_ok:
+    if descend_ok and hasattr(dst_folder, '_getOb'):
         if hasattr(base_ob, 'objectItems'):
             _migrateObjectManager(s_ob, dst_folder._getOb(id),
                                   conversions, skip, res)