Skip to content
Snippets Groups Projects
Commit f3f74a90 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Fix node for python 2.7

parent a261c53e
No related branches found
No related tags found
No related merge requests found
......@@ -59,9 +59,10 @@ class Nodes(list):
next_node_count += 1
if next_node_count > self.working_nodes_count + 1:
raise StopIteration
return self.url
next = __next__ # Python 2
def __repr__(self):
nodes_list = []
for i in range(len(self)):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment