[CMF-checkins] CVS: CMF - PortalFolder.py:1.11

tseaver@digicool.com tseaver@digicool.com
Wed, 23 May 2001 18:58:06 -0400 (EDT)


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

Modified Files:
	PortalFolder.py 
Log Message:


 - Make 'DublinCore.content_type' call 'Format', instead of being an
   alias (so polymorphism works as expected).

 - Give 'PortalFolder' a 'content_type' which returns None (so it doesn't
   acquire).



--- Updated File PortalFolder.py in package CMF --
--- PortalFolder.py	2001/05/23 20:41:40	1.10
+++ PortalFolder.py	2001/05/23 22:58:05	1.11
@@ -318,6 +318,12 @@
             filter.update(marshal.loads(base64.decodestring(encoded)))
         return filter
 
+    def content_type( self ):
+        """
+            WebDAV needs this to do the Right Thing (TM).
+        """
+        return None
+
     def PUT_factory( self, name, typ, body ):
         """
             Dispatcher for PUT requests to non-existent IDs.  Returns