[Zope-Checkins] CVS: Zope/lib/python/Products/Transience - Transience.py:1.33

Tres Seaver cvs-admin at zope.org
Tue Nov 18 08:17:39 EST 2003


Update of /cvs-repository/Zope/lib/python/Products/Transience
In directory cvs.zope.org:/tmp/cvs-serv30559/lib/python/Products/Transience

Modified Files:
	Transience.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the head.


=== Zope/lib/python/Products/Transience/Transience.py 1.32 => 1.33 ===
--- Zope/lib/python/Products/Transience/Transience.py:1.32	Tue Jan 21 02:55:22 2003
+++ Zope/lib/python/Products/Transience/Transience.py	Tue Nov 18 08:17:08 2003
@@ -931,7 +931,7 @@
     purposes (Zope 2.5X). """
     def __init__(self, l, index):
         if not len(l):
-            raise "ring must have at least one element"
+            raise ValueError, "ring must have at least one element"
         DEBUG and TLOG('initial _ring buckets: %s' % map(oid, l))
         self._data = l
         self._index = index




More information about the Zope-Checkins mailing list