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

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


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

Modified Files:
	PropertySheets.py 
Log Message:
Merged add of absattr around content_type lookup in getcontenttype



--- Updated File PropertySheets.py in package Zope2 --
--- PropertySheets.py	2001/04/09 14:25:11	1.70
+++ PropertySheets.py	2001/04/10 14:14:12	1.71
@@ -580,7 +580,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 ''