Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vapi: switch to python3
[vpp.git]
/
src
/
vpp-api
/
vapi
/
vapi_json_parser.py
diff --git
a/src/vpp-api/vapi/vapi_json_parser.py
b/src/vpp-api/vapi/vapi_json_parser.py
index
98143e2
..
2a03bd0
100644
(file)
--- a/
src/vpp-api/vapi/vapi_json_parser.py
+++ b/
src/vpp-api/vapi/vapi_json_parser.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
2
+#!/usr/bin/env python
3
import json
import json
@@
-395,7
+395,7
@@
class JsonParser(object):
self.types[type_.name] = type_
self.types_by_json[path].append(type_)
self.logger.debug("Parsed type: %s" % type_)
self.types[type_.name] = type_
self.types_by_json[path].append(type_)
self.logger.debug("Parsed type: %s" % type_)
- for name, body in j['aliases'].ite
rite
ms():
+ for name, body in j['aliases'].items():
if name in self.aliases:
progress = progress + 1
continue
if name in self.aliases:
progress = progress + 1
continue