mirror of https://github.com/ansible/ansible.git
Fall back to standalone simplejson module
CentOS5 has python 2.4 which doesn't have a built-in json modulepull/3/head
parent
9681e1fa04
commit
ef8ea13495
@ -1,5 +1,8 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
|
||||
print json.dumps(1)
|
||||
|
Loading…
Reference in New Issue