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:
IWASE Yusuke 2016-11-09 14:17:11 +09:00 committed by FUJITA Tomonori
parent 444c29fd73
commit 2dc7d403bb

View File

@ -495,6 +495,9 @@ class Sink(object):
return outgoing_msg
# For Python 3 compatibility
__next__ = next
#
# Source