mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
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:
parent
aa5f96d28d
commit
3f9879aedb
28 changed files with 105 additions and 96 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue