mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
ef8ea13495
CentOS5 has python 2.4 which doesn't have a built-in json module
8 lines
105 B
Python
8 lines
105 B
Python
#!/usr/bin/python
|
|
|
|
try:
|
|
import json
|
|
except ImportError:
|
|
import simplejson as json
|
|
|
|
print json.dumps(1)
|