[Zope-Checkins] CVS: Zope/lib/python/ZTUtils - Batch.py:1.10.66.1
Andreas Jung
andreas at andreas-jung.com
Fri May 28 09:39:36 EDT 2004
Update of /cvs-repository/Zope/lib/python/ZTUtils
In directory cvs.zope.org:/tmp/cvs-serv30489/lib/python/ZTUtils
Modified Files:
Tag: Zope-2_7-branch
Batch.py
Log Message:
- Collector #1265: Fixed handling of orphans in ZTUtil.Batch
=== Zope/lib/python/ZTUtils/Batch.py 1.10 => 1.10.66.1 ===
--- Zope/lib/python/ZTUtils/Batch.py:1.10 Wed Aug 14 18:10:12 2002
+++ Zope/lib/python/ZTUtils/Batch.py Fri May 28 09:39:05 2004
@@ -106,7 +106,7 @@
if end < start: end=start
else:
end=start+size-1
- try: sequence[end+orphan-1]
+ try: sequence[end+orphan]
except IndexError: end=len(sequence)
elif end > 0:
try: sequence[end-1]
More information about the Zope-Checkins
mailing list