devtools/dataimport.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 02 Apr 2010 14:28:43 +0200
branchstable
changeset 5139 61b607c8571b
parent 4847 9466604ef448
child 5421 8167de96c523
permissions -rw-r--r--
catch and log errors caused by bad json data
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4847
9466604ef448 move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4818
diff changeset
     1
# pylint: disable-msg=W0614,W0401
9466604ef448 move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4818
diff changeset
     2
from warnings import warn
9466604ef448 move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4818
diff changeset
     3
warn('moved to cubicweb.dataimport', DeprecationWarning, stacklevel=2)
9466604ef448 move devtools.dataimport at the cw level since we don't want cubes using it to depends on cubicweb-dev
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 4818
diff changeset
     4
from cubicweb.dataimport import *