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 argparse
|
||||||
import os
|
import os
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import os
|
import os
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env python2
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
@ -395,7 +395,7 @@ class JsonParser(object):
|
|||||||
self.types[type_.name] = type_
|
self.types[type_.name] = type_
|
||||||
self.types_by_json[path].append(type_)
|
self.types_by_json[path].append(type_)
|
||||||
self.logger.debug("Parsed type: %s" % 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:
|
if name in self.aliases:
|
||||||
progress = progress + 1
|
progress = progress + 1
|
||||||
continue
|
continue
|
||||||
|
Reference in New Issue
Block a user