updated use of next(object) iterator function to object.next()
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 4 Dec 2009 08:59:45 +0000 (10:59 +0200)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Fri, 4 Dec 2009 09:00:12 +0000 (11:00 +0200)
viewer/p2p-nexteditor.py

index 25d6b42..26d1d47 100644 (file)
@@ -55,7 +55,7 @@ class PlotterThread(Thread):
         stmit = stmc.getIter()
         while True:
             try:
-                  stm = next(stmit)
+                  stm = stmit.next()
             except StopIteration:
                   break
             date1 = julianToDatetime(stm.timestamp)