This repository was archived by the owner on Apr 25, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import urllib
22from oauth2 import OAuth2Request
33import re
4-
5- try :
6- import simplejson
7- except ImportError :
8- try :
9- import json as simplejson
10- except ImportError :
11- try :
12- from django .utils import simplejson
13- except ImportError :
14- raise ImportError ('A json library is required to use this python library. Lol, yay for being verbose. ;)' )
4+ from json_import import simplejson
155
166re_path_template = re .compile ('{\w+}' )
177
Original file line number Diff line number Diff line change 1+ try :
2+ import simplejson
3+ except ImportError :
4+ try :
5+ import json as simplejson
6+ except ImportError :
7+ try :
8+ from django .utils import simplejson
9+ except ImportError :
10+ raise ImportError ('A json library is required to use this python library' )
Original file line number Diff line number Diff line change 11import hmac
22import hashlib
3-
4- try :
5- import simplejson
6- except ImportError :
7- try :
8- import json as simplejson
9- except ImportError :
10- try :
11- from django .utils import simplejson
12- except ImportError :
13- raise ImportError ('A json library is required to use this python library. Lol, yay for being verbose. ;)' )
14-
3+ from json_import import simplejson
154
165class SubscriptionType :
176 TAG = 'tag'
You can’t perform that action at this time.
0 commit comments