summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index a8d46d7..f8f4500 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -179,7 +179,7 @@ def CheckPendingBuilds(input_api, output_api, url, max_pendings, ignored):
connection.close()
try:
import simplejson
- data = simplejson.parse(raw_data)
+ data = simplejson.loads(raw_data)
except ImportError:
# simplejson is much safer. But we should be just fine enough with that:
data = eval(raw_data.replace('null', 'None'))