aboutsummaryrefslogtreecommitdiff
path: root/describe.py
diff options
context:
space:
mode:
authorJoe Gregorio <jcgregorio@google.com>2012-07-10 10:35:14 -0400
committerJoe Gregorio <jcgregorio@google.com>2012-07-10 10:35:14 -0400
commit973b3a1dcc61813929206effe183ffee4839fe8c (patch)
tree2e15058433a43a574a99116c922ef00f046def07 /describe.py
parent672051e279fda5881ab7806bbce3b33976e19e24 (diff)
downloadgoogle-api-python-client-973b3a1dcc61813929206effe183ffee4839fe8c.tar.gz
Use anyjson consistently.
Reviewed in http://codereview.appspot.com/6343090/.
Diffstat (limited to 'describe.py')
-rw-r--r--describe.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/describe.py b/describe.py
index 0951285f2..87dcd0c83 100644
--- a/describe.py
+++ b/describe.py
@@ -23,7 +23,6 @@ the generated API surface itself.
__author__ = 'jcgregorio@google.com (Joe Gregorio)'
-import json
import os
import re
import sys
@@ -328,7 +327,7 @@ def document_api(name, version):
'api': name,
'apiVersion': version})
)
- discovery = json.loads(content)
+ discovery = simplejson.loads(content)
version = safe_version(version)