[CMF-checkins] CVS: Products/CMFCore - PortalFolder.py:1.45.4.6
Stefan H. Holek
stefan at epy.co.at
Tue Jul 20 09:37:33 EDT 2004
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22178
Modified Files:
Tag: CMF-1_4-branch
PortalFolder.py
Log Message:
Restore compatibility with older Zope versions.
=== Products/CMFCore/PortalFolder.py 1.45.4.5 => 1.45.4.6 ===
--- Products/CMFCore/PortalFolder.py:1.45.4.5 Tue Jul 20 08:43:32 2004
+++ Products/CMFCore/PortalFolder.py Tue Jul 20 09:37:02 2004
@@ -31,7 +31,11 @@
from Acquisition import aq_parent, aq_inner, aq_base
from DynamicType import DynamicType
from utils import getToolByName, _checkPermission
-from zExceptions import BadRequest
+
+try:
+ from zExceptions import BadRequest
+except ImportError:
+ BadRequest = 'BadRequest'
factory_type_information = (
{ 'id' : 'Folder'
More information about the CMF-checkins
mailing list