mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 12:26:11 +02:00
fix 77effb29 regression
The following commit broke ofp_attrs():
commit 77effb29a69eeb6d320dd9a7554924b2578c3c95
Author: Isaku Yamahata <yamahata@valinux.co.jp>
Date: Mon May 27 18:15:27 2013 +0900
ofproto/ofproto_parser: pylint
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
93b457bf63
commit
d7d4d8c1b5
@ -162,8 +162,8 @@ def msg_pack_into(fmt, buf, offset, *args):
|
||||
|
||||
|
||||
def ofp_attrs(msg_):
|
||||
base = getattr(msg, '_base_attributes', [])
|
||||
for k, v in inspect.getmembers(msg):
|
||||
base = getattr(msg_, '_base_attributes', [])
|
||||
for k, v in inspect.getmembers(msg_):
|
||||
if k.startswith('_'):
|
||||
continue
|
||||
if callable(v):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user