From 396b18f3f1754431c63c9e1f9fa2b5f1af246e6b Mon Sep 17 00:00:00 2001 From: Rick Harris Date: Mon, 26 Apr 2010 22:35:29 -0500 Subject: [PATCH] Import parse_qs from cgi (2.5 compat) --- github2/request.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github2/request.py b/github2/request.py index f0ce242..3cb6542 100644 --- a/github2/request.py +++ b/github2/request.py @@ -1,7 +1,8 @@ import sys import httplib import simplejson -from urlparse import urlparse, parse_qs, urlunparse +from urlparse import urlparse, urlunparse +from cgi import parse_qs # 2.5 compat from urllib import urlencode GITHUB_URL = "http://github.com"