equal
deleted
inserted
replaced
7 __docformat__ = "restructuredtext en" |
7 __docformat__ = "restructuredtext en" |
8 |
8 |
9 import os |
9 import os |
10 |
10 |
11 from logilab.common.configuration import REQUIRED, Configuration, ini_format_section |
11 from logilab.common.configuration import REQUIRED, Configuration, ini_format_section |
|
12 from logilab.common.clcommands import register_commands, cmd_run, pop_arg |
12 |
13 |
13 from cubicweb import AuthenticationError, ExecutionError, ConfigurationError |
14 from cubicweb import AuthenticationError, ExecutionError, ConfigurationError |
14 from cubicweb.toolsutils import Command, CommandHandler, pop_arg, cmd_run, \ |
15 from cubicweb.toolsutils import (Command, CommandHandler, confirm, |
15 register_commands, confirm, restrict_perms_to_user |
16 restrict_perms_to_user) |
16 from cubicweb.server.serverconfig import ServerConfiguration |
17 from cubicweb.server.serverconfig import ServerConfiguration |
17 |
18 |
18 |
19 |
19 # utility functions ########################################################### |
20 # utility functions ########################################################### |
20 |
21 |