Merge pull request #1 from katzj/centos5-simplejson
Fall back to standalone simplejson module
This commit is contained in:
commit
6bebedd7eb
2 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
import subprocess
|
||||
import sys
|
||||
import datetime
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import json
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
import simplejson as json
|
||||
|
||||
print json.dumps(1)
|
||||
|
|
Loading…
Reference in a new issue