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

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:34:43 EST 2003


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

Modified Files:
      Tag: Zope-2_7-branch
	Transience.py 
Log Message:
 - Merge tseaver-strexp_delenda-branch to the 2.7 branch.


=== Zope/lib/python/Products/Transience/Transience.py 1.32 => 1.32.12.1 ===
--- Zope/lib/python/Products/Transience/Transience.py:1.32	Tue Jan 21 02:55:22 2003
+++ Zope/lib/python/Products/Transience/Transience.py	Mon Nov 17 17:34:12 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