Skip to content

Commit

Permalink
Update iterable interface to avoid parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Feb 21, 2021
1 parent f960cd3 commit c435fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ def __repr__(self) -> str:
def __iter__(self) -> list:
return iter(self.items)
def __next__(self) -> int:
return self.items.__next__()
return iter(self.items).__next__()

def getValidQueues() -> list:
"""Returns a list of queues on the filesystem excluding ignored queues.
Expand Down

0 comments on commit c435fe1

Please sign in to comment.