Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
13ff90f
)
vppapigen: fix options representation
76/24776/2
author
Ole Troan
<ot@cisco.com>
Tue, 4 Feb 2020 08:12:00 +0000
(09:12 +0100)
committer
Andrew Yourtchenko
<ayourtch@gmail.com>
Tue, 4 Feb 2020 13:05:28 +0000
(13:05 +0000)
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ief77110160120ea0e1291cc79949a73404cdbfda
src/tools/vppapigen/vppapigen.py
patch
|
blob
|
history
diff --git
a/src/tools/vppapigen/vppapigen.py
b/src/tools/vppapigen/vppapigen.py
index
57a30fd
..
7a7b687
100755
(executable)
--- a/
src/tools/vppapigen/vppapigen.py
+++ b/
src/tools/vppapigen/vppapigen.py
@@
-769,7
+769,7
@@
class VPPAPI(object):
if o.autoreply:
s[tname].append(self.autoreply_block(o.name))
elif isinstance(o, Option):
- s[tname][o
[1]] = o[2]
+ s[tname][o
.option] = o.value
elif type(o) is list:
for o2 in o:
if isinstance(o2, Service):