vapi: switch to python3
Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I78aac39b697e29bb454e5e95855e79ea3122b4c3
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import os
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python2
|
||||
#!/usr/bin/env python3
|
||||
|
||||
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_)
|
||||
for name, body in j['aliases'].iteritems():
|
||||
for name, body in j['aliases'].items():
|
||||
if name in self.aliases:
|
||||
progress = progress + 1
|
||||
continue
|
||||
|
Reference in New Issue
Block a user