[CMF-checkins] CVS: Products/CMFDefault - Portal.py:1.44.2.4
Yvo Schubbe
y.2004_ at wcm-solutions.de
Sun Nov 28 14:04:38 EST 2004
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv1750/CMFDefault
Modified Files:
Tag: CMF-1_5-branch
Portal.py
Log Message:
- replaced deprecated alias
=== Products/CMFDefault/Portal.py 1.44.2.3 => 1.44.2.4 ===
--- Products/CMFDefault/Portal.py:1.44.2.3 Fri Oct 29 13:07:10 2004
+++ Products/CMFDefault/Portal.py Sun Nov 28 14:04:38 2004
@@ -20,7 +20,7 @@
from Products.CMFCore.PortalObject import PortalObjectBase
from Products.CMFCore import PortalFolder
-from Products.CMFCore.TypesTool import ContentFactoryMetadata
+from Products.CMFCore.TypesTool import FactoryTypeInformation
from Products.CMFCore.utils import getToolByName
from Products.CMFTopic import Topic
from Products.CMFTopic import topic_globals
@@ -275,8 +275,8 @@
if tool is None:
return
for t in initial_types:
- cfm = ContentFactoryMetadata(**t)
- tool._setObject(t['id'], cfm)
+ fti = FactoryTypeInformation(**t)
+ tool._setObject(t['id'], fti)
def setupMimetypes(self, p):
p.manage_addProduct[ 'CMFCore' ].manage_addRegistry()
More information about the CMF-checkins
mailing list