Fall back to simplejson if ImportError on json

reviewable/pr18780/r1
Stein Inge Morisbak 10 years ago
parent 3fa7806ae5
commit 5a2b80ccaa

@ -131,9 +131,12 @@ EXAMPLES='''
desc=deployment
'''
import json
import datetime
import base64
try:
import json
except ImportError:
import simplejson as json
def auth_header(user, passwd, token):
if token:

Loading…
Cancel
Save