Removed cjson not worth it..
This commit is contained in:
Родитель
3109ce94d3
Коммит
336f57764f
3
test.py
3
test.py
|
@ -2,7 +2,6 @@ try:
|
|||
import simplejson as json
|
||||
except ImportError:
|
||||
import json
|
||||
import cjson
|
||||
import math
|
||||
import sys
|
||||
|
||||
|
@ -106,7 +105,7 @@ def map(key, dims, value, context):
|
|||
buildDate = buildId[:8]
|
||||
|
||||
# Load JSON payload
|
||||
payload = cjson.decode(value)
|
||||
payload = json.loads(value)
|
||||
|
||||
# Get OS, osVersion and architecture information
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче