Skip to content

Commit 655c245

Browse files
committed
Merge remote branch 'adamv/master'
2 parents 8e3da3d + 5b2f09d commit 655c245

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

github2/request.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import sys
22
import httplib
3-
import simplejson
3+
try:
4+
import json as simplejson # For Python 2.6
5+
except ImportError:
6+
import simplejson
47
from urlparse import urlparse, urlunparse
58
try:
69
from urlparse import parse_qs

0 commit comments

Comments
 (0)