Fall back to simplejson if ImportError on json

pull/18777/head
Stein Inge Morisbak 10 years ago committed by Matt Clay
parent 701a85e7fc
commit 5b56faeed2

@ -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