[CMF-checkins] CVS: CMF/CMFCore - PortalContent.py:1.25
Andrew Sawyers
andrew@digicool.com
Tue, 28 Aug 2001 17:17:08 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv12585
Modified Files:
PortalContent.py
Log Message:
*CMF running on Zope2.4x broke WebDav-ability. Added WriteLockInterface to PortalContent __implements__
*This might necessitate some further checks for edits to properly handle locked objects which someone else tries to edit. I'm looking into this....
=== CMF/CMFCore/PortalContent.py 1.24 => 1.25 ===
from DynamicType import DynamicType
from utils import getToolByName, _checkPermission
-
+from webdav.WriteLockInterface import WriteLockInterface
from Acquisition import aq_base
@@ -108,7 +108,7 @@
interfaces/DublinCore.py.
"""
- __implements__ = Contentish
+ __implements__ = (WriteLockInterface, Contentish,)
isPortalContent = 1
_isPortalContent = 1 # More reliable than 'isPortalContent'.