2 parents 8e3da3d + 5b2f09d commit 655c245Copy full SHA for 655c245
1 file changed
github2/request.py
@@ -1,6 +1,9 @@
1
import sys
2
import httplib
3
-import simplejson
+try:
4
+ import json as simplejson # For Python 2.6
5
+except ImportError:
6
+ import simplejson
7
from urlparse import urlparse, urlunparse
8
try:
9
from urlparse import parse_qs
0 commit comments