From: Razvan Deaconescu Date: Fri, 4 Dec 2009 08:59:45 +0000 (+0200) Subject: updated use of next(object) iterator function to object.next() X-Git-Tag: getopt_long~227^2~12 X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=commitdiff_plain;h=c4d75bec702b18356a771b5983fdab8a25b368ce;p=cs-p2p-next.git updated use of next(object) iterator function to object.next() --- diff --git a/viewer/p2p-nexteditor.py b/viewer/p2p-nexteditor.py index 25d6b42..26d1d47 100644 --- a/viewer/p2p-nexteditor.py +++ b/viewer/p2p-nexteditor.py @@ -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)