vapi: switch to python3

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I78aac39b697e29bb454e5e95855e79ea3122b4c3
This commit is contained in:
Ole Troan
2019-10-25 18:30:40 +02:00
committed by Neale Ranns
parent df0191ead2
commit 1b1ccadc90
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
import argparse
import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
import argparse
import os

View File

@ -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