vppapigen: remove python2 support 06/21206/9
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Wed, 7 Aug 2019 02:02:45 +0000 (22:02 -0400)
committerOle Trøan <otroan@employees.org>
Tue, 20 Aug 2019 09:12:48 +0000 (09:12 +0000)
commit2cd3cc8a605a062c7900dbcc3fad53d04723c298
tree9fecf96f18930dd24a33d3029b79b9307c0d4707
parente8d2dcb6a619f0884ece2284a286f21b3aa77e5a
vppapigen: remove python2 support

vppapigen has been running under python3 for months.
Remove the python2 conditional code.

In case of an error, explicitly log and return non-0.

Type: refactor
Change-Id: I20a73e0f2cb875aab6441959a85a35e88c9f8250
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
src/tools/vppapigen/vppapigen.py