mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
protocols/bgp/base: Add missing __next__ method
This patch adds the missing __next__ method for Python 3 iterable. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
444c29fd73
commit
2dc7d403bb
@ -495,6 +495,9 @@ class Sink(object):
|
||||
|
||||
return outgoing_msg
|
||||
|
||||
# For Python 3 compatibility
|
||||
__next__ = next
|
||||
|
||||
|
||||
#
|
||||
# Source
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user