diff options
author | Hiroshi Yokoi <yokoi.hiroshi@po.ntts.co.jp> | 2014-11-12 15:55:17 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-11-13 16:14:31 +0800 |
commit | 3a918ac3c86776f65965f9ff0e1964a3be0a4f39 (patch) | |
tree | 11250d530fbe5f9429e6c528ca5dad23ac769f2b /tools/pyang_plugins | |
parent | 7fc1e2fff38b7b417c989d4e1a4f32e48f0b7aa8 (diff) |
pyang_plugin: fixed TypeError
Diffstat (limited to 'tools/pyang_plugins')
-rw-r--r-- | tools/pyang_plugins/bgpyang2golang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pyang_plugins/bgpyang2golang.py b/tools/pyang_plugins/bgpyang2golang.py index d1afd1f8..05091fb5 100644 --- a/tools/pyang_plugins/bgpyang2golang.py +++ b/tools/pyang_plugins/bgpyang2golang.py @@ -370,7 +370,7 @@ def generate_header(ctx): def translate_type(key): - if key in _type_translation_map.keys: + if key in _type_translation_map.keys(): return _type_translation_map[key] else: return key |