[CMF-checkins] CVS: CMF/CMFTopic - Topic.py:1.37

Yvo Schubbe schubbe at web.de
Mon Jan 12 05:53:39 EST 2004


Update of /cvs-repository/CMF/CMFTopic
In directory cvs.zope.org:/tmp/cvs-serv3628/CMFTopic

Modified Files:
	Topic.py 
Log Message:
Oops! Fixed previous checkin.


=== CMF/CMFTopic/Topic.py 1.36 => 1.37 ===
--- CMF/CMFTopic/Topic.py:1.36	Mon Jan 12 05:40:27 2004
+++ CMF/CMFTopic/Topic.py	Mon Jan 12 05:53:09 2004
@@ -258,8 +258,7 @@
         """
             Add a new subtopic.
         """
-        ttool = getToolByName(self, 'portal_types')
-        ti = ttool.getTypeInfo('Topic')
+        ti = self.getTypeInfo()
         ti.constructInstance(self, id)
         return self._getOb( id )
 




More information about the CMF-checkins mailing list