devtools/dataimport.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Tue, 27 Apr 2010 10:32:25 +0000
branchstable
changeset 5414 6eeec78c65f9
parent 4847 9466604ef448
child 5421 8167de96c523
permissions -rw-r--r--
enforce use of environment variables when running as a service CW_INSTANCES_DIR, CW_INSTANCES_DATA_DIR, CW_RUNTIME_DIR must be positionned at the system level. This will ensure that cubicweb-ctl commands issued on the computer will use the proper directories.
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 *