Skip to content

Commit 12e14ed

Browse files
author
Ask Solem
committed
Merge branch 'paulproteus/master'
Conflicts: github2/request.py
2 parents 63aca91 + 6b9a7b6 commit 12e14ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

github2/request.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
import httplib
33
import simplejson
44
from urlparse import urlparse, urlunparse
5-
from cgi import parse_qs # 2.5 compat
5+
try:
6+
from urlparse import parse_qs
7+
except ImportError:
8+
from cgi import parse_qs
69
from urllib import urlencode
710

811
GITHUB_URL = "http://github.com"

0 commit comments

Comments
 (0)