[ZPT] CVS: Packages/ZTUtils - Batch.py:1.4 CHANGES.txt:1.5
Evan Simpson
evan@zope.com
Tue, 2 Oct 2001 16:54:50 -0400
Update of /cvs-repository/Packages/ZTUtils
In directory cvs.zope.org:/tmp/cvs-serv31401
Modified Files:
Batch.py CHANGES.txt
Log Message:
Batch fixes.
=== Packages/ZTUtils/Batch.py 1.3 => 1.4 ===
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.4 => 1.5 ===
with DTML-In.
+ - Orphan batches were broken.