Commit 8047ef41 authored by Nigel Stewart's avatar Nigel Stewart
Browse files

parse_xml.py touch-up for Python 3 (or Python 2)

parent 1ab282a9
......@@ -114,8 +114,8 @@ if __name__ == '__main__':
dom = parse(i)
api = findApi(dom, 'egl')
print 'Found {} enums, {} commands, {} features and {} extensions.'.format(
len(api[0]), len(api[1]), len(api[2]), len(api[3]))
print('Found {} enums, {} commands, {} features and {} extensions.'.format(
len(api[0]), len(api[1]), len(api[2]), len(api[3])))
if len(options.core):
for i in api[2].keys():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment