sobjects/parsers.py
changeset 7532 76914c7ba1b0
parent 7531 e891ca479586
child 7534 d58a9d96aad8
--- 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