[Checkins] SVN: manuel/trunk/src/manuel/testing.py merge Python 2.4 compatabilty patch from 1.0 branch (r102355)
Benji York
benji at zope.com
Sun Aug 9 15:12:56 EDT 2009
Log message for revision 102621:
merge Python 2.4 compatabilty patch from 1.0 branch (r102355)
Changed:
U manuel/trunk/src/manuel/testing.py
-=-
Modified: manuel/trunk/src/manuel/testing.py
===================================================================
--- manuel/trunk/src/manuel/testing.py 2009-08-09 19:08:51 UTC (rev 102620)
+++ manuel/trunk/src/manuel/testing.py 2009-08-09 19:12:55 UTC (rev 102621)
@@ -71,7 +71,7 @@
while True:
region = None # being defensive
try:
- region = next(document_iter)
+ region = document_iter.next()
except StopIteration:
if not accumulated_regions:
break
@@ -95,7 +95,7 @@
# if there are no more regions, stop
try:
- region = next(document_iter)
+ region = document_iter.next()
except StopIteration:
break
More information about the Checkins
mailing list