mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
python3: Improve Table class in services.protocols.bgp.info_base.base
Remove itervalues() and values() always returns iterator Signed-off-by: Fumihiko Kakuma <kakuma@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
9f4328682f
commit
85023d4fdb
@ -82,9 +82,6 @@ class Table(object):
|
||||
raise NotImplementedError()
|
||||
|
||||
def values(self):
|
||||
return self._destinations.values()
|
||||
|
||||
def itervalues(self):
|
||||
return iter(self._destinations.values())
|
||||
|
||||
def insert(self, path):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user