[Zope-Checkins] CVS: Zope2 - PropertySheets.py:1.63.4.7

Brian Lloyd brian@digicool.com
Tue, 10 Apr 2001 10:13:30 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/OFS
In directory korak:/home/brian/temp/zope-23-branch/lib/python/OFS

Modified Files:
      Tag: zope-2_3-branch
	PropertySheets.py 
Log Message:
added absattr around content_type lookup



--- Updated File PropertySheets.py in package Zope2 --
--- PropertySheets.py	2001/04/09 14:24:52	1.63.4.6
+++ PropertySheets.py	2001/04/10 14:13:29	1.63.4.7
@@ -577,7 +577,7 @@
     def dav__getcontenttype(self):
         vself=self.v_self()
         if hasattr(vself, 'content_type'):
-            return vself.content_type
+            return absattr(vself.content_type)
         if hasattr(vself, 'default_content_type'):
             return absattr(vself.default_content_type)
         return ''