[py3k] import CookieJar using six.moves
authorRémi Cardona <remi.cardona@logilab.fr>
Wed, 16 Sep 2015 11:23:51 +0200
changeset 10611 f4dec0cca9a1
parent 10610 d53b9c157f99
child 10612 84468b90e9c1
[py3k] import CookieJar using six.moves
server/sources/datafeed.py
--- a/server/sources/datafeed.py	Tue Sep 15 18:50:25 2015 +0200
+++ b/server/sources/datafeed.py	Wed Sep 16 11:23:51 2015 +0200
@@ -22,11 +22,11 @@
 import StringIO
 from os.path import exists
 from datetime import datetime, timedelta
-from cookielib import CookieJar
 
 from six.moves.urllib.parse import urlparse
 from six.moves.urllib.request import Request, build_opener, HTTPCookieProcessor
 from six.moves.urllib.error import HTTPError
+from six.moves.http_cookiejar import CookieJar
 
 from lxml import etree