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

Tres Seaver cvs-admin at zope.org
Mon Nov 17 17:10:26 EST 2003


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

Modified Files:
      Tag: tseaver-strexp_delenda-branch
	Transience.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/Transience/Transience.py 1.32 => 1.32.34.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:09:55 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