From 8047ef41fac61e5ae9e71b53ca0916455031b8bf Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 21 May 2016 07:59:11 +1000 Subject: [PATCH] parse_xml.py touch-up for Python 3 (or Python 2) --- auto/bin/parse_xml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/bin/parse_xml.py b/auto/bin/parse_xml.py index a9c1b4b..1340deb 100755 --- a/auto/bin/parse_xml.py +++ b/auto/bin/parse_xml.py @@ -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():