summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-10-14 10:34:54 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-10-14 10:54:36 +0900
commit459baf87d33f8d00cc41ee88c970bc060a29fbf9 (patch)
tree9e688cefdd378f5bd42f49ad5b96a0491e608b8e /tools/pyang_plugins
parent9bfba7fd541f9ba6211c34e0e79a3b26cac9d389 (diff)
pyang_plugins: pep8 style fix
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r--tools/pyang_plugins/ryu.py2
1 files changed, 1 insertions, 1 deletions
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