[CMF-checkins] CVS: Products/CMFCalendar - exceptions.py:1.1.2.1 Event.py:1.20.2.3

Yvo Schubbe y.2005- at wcm-solutions.de
Tue Apr 5 06:48:40 EDT 2005


Update of /cvs-repository/Products/CMFCalendar
In directory cvs.zope.org:/tmp/cvs-serv14768/CMFCalendar

Modified Files:
      Tag: CMF-1_5-branch
	Event.py 
Added Files:
      Tag: CMF-1_5-branch
	exceptions.py 
Log Message:
import ResourceLockedError from exceptions.py


=== Added File Products/CMFCalendar/exceptions.py ===
##############################################################################
#
# Copyright (c) 2005 Zope Corporation and Contributors. All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
""" CMFCalendar product exceptions.

$Id: exceptions.py,v 1.1.2.1 2005/04/05 10:48:10 yuppie Exp $
"""

from AccessControl import ModuleSecurityInfo
security = ModuleSecurityInfo('Products.CMFCalendar.exceptions')

security.declarePublic('ResourceLockedError')
from Products.CMFCore.exceptions import ResourceLockedError


=== Products/CMFCalendar/Event.py 1.20.2.2 => 1.20.2.3 ===
--- Products/CMFCalendar/Event.py:1.20.2.2	Tue Apr  5 05:25:19 2005
+++ Products/CMFCalendar/Event.py	Tue Apr  5 06:48:10 2005
@@ -23,7 +23,6 @@
 except ImportError:
     # BBB: for Zope 2.7
     from Products.CMFCore.utils import transaction
-from webdav.Lockable import ResourceLockedError
 
 from Products.CMFCore.PortalContent import PortalContent
 from Products.CMFCore.utils import contributorsplitter
@@ -36,6 +35,7 @@
 from Products.CMFDefault.utils import parseHeadersBody
 from Products.CMFDefault.utils import SimpleHTMLParser
 
+from exceptions import ResourceLockedError
 from permissions import ChangeEvents
 from permissions import ModifyPortalContent
 from permissions import View



More information about the CMF-checkins mailing list