first set of semantic changes for python3
[nepi.git] / src / nepi / util / guid.py
index 24ca3cc..2886d49 100644 (file)
@@ -22,7 +22,7 @@ class GuidGenerator(object):
     def __init__(self):
         self._last_guid = 0
 
-    def next(self, guid = None):
+    def __next__(self, guid = None):
         if guid == None:
             guid = self._last_guid + 1