diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-11-09 14:17:11 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-14 18:14:15 +0900 |
commit | 2dc7d403bb024589de4c551e89980c7a2750acc7 (patch) | |
tree | 7a687c7d2a3a50a42939de5f874af10eb6a68c9f | |
parent | 444c29fd735bd5c08b0726a4a58f5880af122061 (diff) |
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>
-rw-r--r-- | ryu/services/protocols/bgp/base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ryu/services/protocols/bgp/base.py b/ryu/services/protocols/bgp/base.py index 713622d3..dd658aa7 100644 --- a/ryu/services/protocols/bgp/base.py +++ b/ryu/services/protocols/bgp/base.py @@ -495,6 +495,9 @@ class Sink(object): return outgoing_msg + # For Python 3 compatibility + __next__ = next + # # Source |