Skip to content

Commit

Permalink
vppapigen: fix options representation
Browse files Browse the repository at this point in the history
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ief77110160120ea0e1291cc79949a73404cdbfda
  • Loading branch information
Ole Troan authored and ayourtch committed Feb 4, 2020
1 parent 13ff90f commit 59b6c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/vppapigen/vppapigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ def process(self, objs):
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):
Expand Down

0 comments on commit 59b6c0c

Please sign in to comment.