From 459baf87d33f8d00cc41ee88c970bc060a29fbf9 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Tue, 14 Oct 2014 10:34:54 +0900 Subject: pyang_plugins: pep8 style fix Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- 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 9c0fed09..1a1cb960 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 -- cgit v1.2.3