[CMF-checkins] CVS: CMF - portal_types.py:1.5

tseaver@digicool.com tseaver@digicool.com
Wed, 6 Jun 2001 20:23:46 -0400 (EDT)


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory korak.digicool.com:/tmp/cvs-serv13413/CMFCore/interfaces

Modified Files:
	portal_types.py 
Log Message:


 - Merge changes to permit mapping non-CMF classes onto content
   types (Tracker #283).



--- Updated File portal_types.py in package CMF --
--- portal_types.py	2001/06/05 21:43:32	1.4
+++ portal_types.py	2001/06/07 00:23:45	1.5
@@ -164,7 +164,9 @@
         """
             Return an instance which implements the
             ContentTypeInformation interface, corresponding to
-            the specified 'contentType'.
+            the specified 'contentType'.  If contentType is actually
+            an object, rather than a string, attempt to look up
+            the appropriate type info using its Type or meta_type.
         """
 
     # listTypeInfo__roles__ = None  # Public