Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 tools/pyang_plugins/ryu.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/pyang_plugins/ryu.py b/tools/pyang_plugins/ryu.py
index 9c0fed0..1a1cb96 100644
--- a/tools/pyang_plugins/ryu.py
+++ b/tools/pyang_plugins/ryu.py
@@ -153,7 +153,7 @@ def generate_type_name(s):
     except AttributeError:
         pass
     s.i_ryu_class_name = name = _generate_type_name(s)
-    assert (not name in _classes) or same_class_def(_classes[name], s)
+    assert (name not in _classes) or same_class_def(_classes[name], s)
     _classes[name] = s
     return name
 
-- 
1.9.4


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to