[Zope-Checkins] CVS: Zope/lib/python/Products/OFSP -
Draft.py:1.20.26.1
Tres Seaver
cvs-admin at zope.org
Mon Nov 17 17:10:24 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/OFSP
In directory cvs.zope.org:/tmp/cvs-serv12097/lib/python/Products/OFSP
Modified Files:
Tag: tseaver-strexp_delenda-branch
Draft.py
Log Message:
- Rip string exceptins out by the root.
- webdav/*: clean up block statements for readability.
- XXX: Redirects are now showing up in the error log object; need
to filter!
=== Zope/lib/python/Products/OFSP/Draft.py 1.20 => 1.20.26.1 ===
--- Zope/lib/python/Products/OFSP/Draft.py:1.20 Tue Apr 8 14:48:21 2003
+++ Zope/lib/python/Products/OFSP/Draft.py Mon Nov 17 17:09:53 2003
@@ -142,7 +142,7 @@
def manage_beforeDelete(self, item, container):
if self.nonempty():
- raise 'Version Error', (
+ raise ValueError, (
'Attempt to %sdelete a non-empty version.<p>'
((self is not item) and 'indirectly ' or ''))
More information about the Zope-Checkins
mailing list