[ZPT] CVS: Packages/ZTUtils - Batch.py:1.2.4.2 CHANGES.txt:1.1.2.2

Evan Simpson evan@zope.com
Tue, 2 Oct 2001 16:55:00 -0400


Update of /cvs-repository/Packages/ZTUtils
In directory cvs.zope.org:/tmp/cvs-serv31426

Modified Files:
      Tag: ztutils-1_1_0
	Batch.py CHANGES.txt 
Log Message:
Batch fixes.


=== Packages/ZTUtils/Batch.py 1.2.4.1 => 1.2.4.2 ===
             return self._sequence[index + self.end]
         
-        if index >= self.size: raise IndexError, index
+        if index >= self.length: raise IndexError, index
         return self._sequence[index+self.first]
 
     def __len__(self):


=== Packages/ZTUtils/CHANGES.txt 1.1.2.1 => 1.1.2.2 ===
           with DTML-In.
 
+        - Orphan batches were broken.