[CMF-checkins] CVS: CMF/CMFCore - PortalContent.py:1.28
Andrew Sawyers
andrew@digicool.com
Sat, 1 Sep 2001 22:26:00 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv27836
Modified Files:
PortalContent.py
Log Message:
*Fixed a mistake in checking whether we're running Zope2.3 or 2.4 for WriteLocking...
=== CMF/CMFCore/PortalContent.py 1.27 => 1.28 ===
from DynamicType import DynamicType
from utils import getToolByName, _checkPermission
-try: from webdav.WriteLockInterface import WriteLockInterface
+try:
+ from webdav.WriteLockInterface import WriteLockInterface
+ NoWL = 0
except ImportError: NoWL = 1
from Acquisition import aq_base