[dataimport] import StringIO from io

authorJulien Cristau <julien.cristau@logilab.fr>
changesetf437787d8849
branchdefault
phasepublic
hiddenno
parent revision#de741492538d [dataimport] backport massive store from dataio cube
child revision#cd91f46fa633 [dataimport] use next builtin instead of next method on iterators
files modified by this revision
dataimport/massive_store.py
# HG changeset patch
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1445451306 -7200
# Wed Oct 21 20:15:06 2015 +0200
# Node ID f437787d8849bc9ddcc032207f18a5f8be644d7f
# Parent de741492538deb92e6c528b285fb795e39f96c37
[dataimport] import StringIO from io

diff --git a/dataimport/massive_store.py b/dataimport/massive_store.py
@@ -18,11 +18,11 @@
1  # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
2 
3  import logging
4  from datetime import datetime
5  from collections import defaultdict
6 -from StringIO import StringIO
7 +from io import StringIO
8 
9  from yams.constraints import SizeConstraint
10 
11  from psycopg2 import ProgrammingError
12