The following commit broke ofp_attrs():
commit 77effb29a69eeb6d320dd9a7554924b2578c3c95
Author: Isaku Yamahata <[email protected]>
Date: Mon May 27 18:15:27 2013 +0900
ofproto/ofproto_parser: pylint
Signed-off-by: FUJITA Tomonori <[email protected]>
---
ryu/ofproto/ofproto_parser.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ryu/ofproto/ofproto_parser.py b/ryu/ofproto/ofproto_parser.py
index 0db2fd7..73a6d9e 100644
--- a/ryu/ofproto/ofproto_parser.py
+++ b/ryu/ofproto/ofproto_parser.py
@@ -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):
--
1.7.12.4 (Apple Git-37)
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel