[Testbot] Plone 4.3 - Python 2.6 - Build # 1842 - Still failing! - 1 failure(s)

jenkins at plone.org jenkins at plone.org
Tue Mar 11 10:16:34 UTC 2014


-------------------------------------------------------------------------------
Plone 4.3 - Python 2.6 - Build # 1842 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-4.3-python-2.6/1842/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.batching
Branch: refs/heads/master
Date: 2014-03-11T10:40:40+01:00
Author: Peter Uittenbroek (thepjot) <uittenbroek at goldmund-wyldebeast-wunderliebe.com>
Commit: https://github.com/plone/plone.batching/commit/68da5f52a08f92de196d310dbd75f93aa9dff531

Use sequence_length to provide proper length for LazyMap sequences

Files changed:
M plone/batching/batch.py

diff --git a/plone/batching/batch.py b/plone/batching/batch.py
index bb803ce..167e0e6 100644
--- a/plone/batching/batch.py
+++ b/plone/batching/batch.py
@@ -39,7 +39,7 @@ def __init__(self, sequence, size, start=0, end=0, orphan=0, overlap=0,
         self.pagerange = pagerange
         self.beyond = False
         # Special use case, where the start is bigger than the sequence
-        if start > len(sequence):
+        if start > self.sequence_length:
             self.beyond = True
         self.initialize(start, end, size)
 




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 915 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140311/00207286/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 158967 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140311/00207286/attachment-0003.obj>


More information about the Testbot mailing list