equal
deleted
inserted
replaced
7 """ |
7 """ |
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 |
9 |
10 import os |
10 import os |
11 import subprocess |
11 import subprocess |
12 from os.path import exists |
12 from datetime import datetime, date |
13 from warnings import warn |
|
14 from datetime import datetime, date, timedelta |
|
15 |
13 |
16 import logilab.common as lgc |
14 import logilab.common as lgc |
17 from logilab.common import db |
15 from logilab.common import db |
18 from logilab.common.shellutils import ProgressBar |
16 from logilab.common.shellutils import ProgressBar |
19 from logilab.common.adbh import get_adv_func_helper |
17 from logilab.common.adbh import get_adv_func_helper |
22 |
20 |
23 from indexer import get_indexer |
21 from indexer import get_indexer |
24 |
22 |
25 from cubicweb import Binary, ConfigurationError |
23 from cubicweb import Binary, ConfigurationError |
26 from cubicweb.uilib import remove_html_tags |
24 from cubicweb.uilib import remove_html_tags |
27 from cubicweb.toolsutils import restrict_perms_to_user |
|
28 from cubicweb.schema import PURE_VIRTUAL_RTYPES |
25 from cubicweb.schema import PURE_VIRTUAL_RTYPES |
29 from cubicweb.server import SQL_CONNECT_HOOKS |
26 from cubicweb.server import SQL_CONNECT_HOOKS |
30 from cubicweb.server.utils import crypt_password |
27 from cubicweb.server.utils import crypt_password |
31 |
28 |
32 |
29 |