Use print() as function under contrib/

This fixes the remaining Python 3 syntax errors, so re-enable compileall
for contrib/ again.
This commit is contained in:
Marius Gedminas 2015-08-28 09:18:13 +03:00
commit 3f9879aedb
28 changed files with 105 additions and 96 deletions

View file

@ -172,7 +172,7 @@ def main():
if options.pretty:
indent = 2
print json.dumps(data, indent=indent)
print(json.dumps(data, indent=indent))
if __name__ == '__main__':
main()