[Zope-Checkins] CVS: Zope/lib/python/OFS - ObjectManager.py:1.163.12.9

Philipp von Weitershausen philikon at philikon.de
Tue Mar 23 06:30:45 EST 2004


Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv17556/lib/python/OFS

Modified Files:
      Tag: Zope-2_7-branch
	ObjectManager.py 
Log Message:
Provide backward compatability for products importing BadRequestException,
such as BTreeFolder2. We should keep this at least in 2.7 so we get a chance
to update the products in question for 2.8.


=== Zope/lib/python/OFS/ObjectManager.py 1.163.12.8 => 1.163.12.9 ===
--- Zope/lib/python/OFS/ObjectManager.py:1.163.12.8	Tue Mar 23 01:04:05 2004
+++ Zope/lib/python/OFS/ObjectManager.py	Tue Mar 23 06:30:43 2004
@@ -90,8 +90,9 @@
         raise BadRequest, (
             'The id "%s" contains characters illegal in URLs.' % id)
 
-class BeforeDeleteException( Exception ): pass # raise to veto deletion
-class BreakoutException ( Exception ): pass  # raised to break out of loops
+class BeforeDeleteException(Exception): pass # raise to veto deletion
+class BreakoutException(Exception): pass  # raised to break out of loops
+BadRequestException = BadRequest
 
 _marker=[]
 class ObjectManager(




More information about the Zope-Checkins mailing list