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

This commit is contained in:
Nigel Stewart 2016-05-21 07:59:11 +10:00
parent 1ab282a9d3
commit 8047ef41fa
1 changed files with 2 additions and 2 deletions

View File

@ -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():