[Zope-Checkins] CVS: Zope/lib/python/Products/OFSP - Draft.py:1.21
Tres Seaver
cvs-admin at zope.org
Tue Nov 18 08:17:36 EST 2003
Update of /cvs-repository/Zope/lib/python/Products/OFSP
In directory cvs.zope.org:/tmp/cvs-serv30559/lib/python/Products/OFSP
Modified Files:
Draft.py
Log Message:
- Merge tseaver-strexp_delenda-branch to the head.
=== Zope/lib/python/Products/OFSP/Draft.py 1.20 => 1.21 ===
--- Zope/lib/python/Products/OFSP/Draft.py:1.20 Tue Apr 8 14:48:21 2003
+++ Zope/lib/python/Products/OFSP/Draft.py Tue Nov 18 08:17:05 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