Commit d7314840 authored by davebshow's avatar davebshow
Browse files

fixed cut and paste typo

parent bdb692ad
...@@ -40,16 +40,6 @@ class AsyncGraphTraversal(graph_traversal.GraphTraversal): ...@@ -40,16 +40,6 @@ class AsyncGraphTraversal(graph_traversal.GraphTraversal):
await self.nextTraverser() await self.nextTraverser()
except StopAsyncIteration: except StopAsyncIteration:
return self return self
except StopAsyncIteration:
results = []
for i in range(amount):
result = await self.__anext__()
except StopAsyncIteration:
return results
return results
async def nextTraverser(self): async def nextTraverser(self):
if self.traversers is None: if self.traversers is None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment