[CMF-checkins] CVS: Products/CMFCore - PortalContent.py:1.23
Tres Seaver
tseaver@zope.com
Fri, 10 Aug 2001 14:53:14 -0400
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv6284/CMFCore
Modified Files:
PortalContent.py
Log Message:
- Add scarecrow assertions for the CMF-centric interfaces.
=== Products/CMFCore/PortalContent.py 1.22 => 1.23 ===
ReviewPortalContent, ModifyPortalContent
import CMFCorePermissions
+from interfaces.Contentish import Contentish
from DynamicType import DynamicType
from utils import getToolByName, _checkPermission
@@ -107,6 +108,7 @@
interfaces/DublinCore.py.
"""
+ __implements__ = Contentish
isPortalContent = 1
_isPortalContent = 1 # More reliable than 'isPortalContent'.