zephyr_mirror: Use json if simplejson is not available.
(imported from commit 4b5f6ff71067cd2697c864c715afbb3b9dd19302)
This commit is contained in:
parent
5af166e063
commit
5a0e86c6d4
|
@ -22,7 +22,10 @@
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import simplejson
|
try:
|
||||||
|
import simplejson
|
||||||
|
except ImportError:
|
||||||
|
import json as simplejson
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
Loading…
Reference in a new issue