[python 2.5] compat fix
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 17 Jun 2011 16:36:52 +0200
changeset 7532 76914c7ba1b0
parent 7531 e891ca479586
child 7533 43835fbdf97d
[python 2.5] compat fix
sobjects/parsers.py
--- a/sobjects/parsers.py	Fri Jun 17 16:13:33 2011 +0200
+++ b/sobjects/parsers.py	Fri Jun 17 16:36:52 2011 +0200
@@ -34,7 +34,7 @@
 import os.path as osp
 from datetime import datetime, timedelta
 from urllib import urlencode
-from urlparse import parse_qs
+from cgi import parse_qs # in urlparse with python >= 2.6
 
 from logilab.common.date import todate, totime
 from logilab.common.textutils import splitstrip, text_to_dict