[CMF-checkins] CVS: Products/CMFCore - PortalContent.py:1.26
Andrew Sawyers
andrew@digicool.com
Fri, 31 Aug 2001 13:53:41 -0400
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv21448
Modified Files:
PortalContent.py
Log Message:
*Added try/except for import errors on WriteLockInterface for compatability with Zope2.3
=== Products/CMFCore/PortalContent.py 1.25 => 1.26 ===
from DynamicType import DynamicType
from utils import getToolByName, _checkPermission
-from webdav.WriteLockInterface import WriteLockInterface
+try: from webdav.WriteLockInterface import WriteLockInterface
+except ImportError: pass
from Acquisition import aq_base