Skip to content

Commit 38c151b

Browse files
author
Simple Geebus
committed
Merge commit '545f832f48a351caee066550535ed0e485fd8f20'
2 parents 1a1f519 + 545f832 commit 38c151b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

oauth2/__init__.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@
3131
import binascii
3232
import httplib2
3333

34-
from urlparse import parse_qs
34+
try:
35+
from urlparse import parse_qs
36+
parse_qs # placate pyflakes
37+
except ImportError:
38+
# fall back for Python 2.5
39+
from cgi import parse_qs
3540

3641
try:
3742
from hashlib import sha1

0 commit comments

Comments
 (0)