[Checkins] SVN: manuel/branches/1.0/src/manuel/testing.py Python 2.4 compatability fix

Benji York benji at zope.com
Tue Jul 28 15:10:14 EDT 2009


Log message for revision 102355:
  Python 2.4 compatability fix
  

Changed:
  U   manuel/branches/1.0/src/manuel/testing.py

-=-
Modified: manuel/branches/1.0/src/manuel/testing.py
===================================================================
--- manuel/branches/1.0/src/manuel/testing.py	2009-07-28 19:09:51 UTC (rev 102354)
+++ manuel/branches/1.0/src/manuel/testing.py	2009-07-28 19:10:13 UTC (rev 102355)
@@ -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