17 """ |
17 """ |
18 __docformat__ = "restructuredtext en" |
18 __docformat__ = "restructuredtext en" |
19 |
19 |
20 import sys |
20 import sys |
21 import Queue |
21 import Queue |
22 from os.path import join, exists |
22 from os.path import join |
23 from datetime import datetime |
23 from datetime import datetime |
24 from time import time, localtime, strftime |
24 from time import time, localtime, strftime |
25 |
25 |
26 from logilab.common.decorators import cached |
26 from logilab.common.decorators import cached |
27 from logilab.common.compat import any |
27 from logilab.common.compat import any |
28 |
28 |
29 from yams import BadSchemaDefinition |
29 from yams import BadSchemaDefinition |
30 from rql import RQLSyntaxError |
30 from rql import RQLSyntaxError |
31 |
31 |
32 from cubicweb import (CW_SOFTWARE_ROOT, CW_MIGRATION_MAP, CW_EVENT_MANAGER, |
32 from cubicweb import (CW_SOFTWARE_ROOT, CW_MIGRATION_MAP, |
33 UnknownEid, AuthenticationError, ExecutionError, |
33 UnknownEid, AuthenticationError, ExecutionError, |
34 ETypeNotSupportedBySources, MultiSourcesError, |
34 ETypeNotSupportedBySources, MultiSourcesError, |
35 BadConnectionId, Unauthorized, ValidationError, |
35 BadConnectionId, Unauthorized, ValidationError, |
36 typed_eid) |
36 typed_eid) |
37 from cubicweb import cwvreg, schema, server |
37 from cubicweb import cwvreg, schema, server |