equal
deleted
inserted
replaced
8 __docformat__ = "restructuredtext en" |
8 __docformat__ = "restructuredtext en" |
9 |
9 |
10 import os |
10 import os |
11 from os.path import join, exists |
11 from os.path import join, exists |
12 |
12 |
13 from logilab.common.configuration import Method, Configuration, \ |
13 from logilab.common.configuration import REQUIRED, Method, Configuration, \ |
14 ini_format_section |
14 ini_format_section |
15 from logilab.common.decorators import wproperty, cached, clear_cache |
15 from logilab.common.decorators import wproperty, cached, clear_cache |
16 |
16 |
17 from cubicweb import CW_SOFTWARE_ROOT, RegistryNotFound |
17 from cubicweb import CW_SOFTWARE_ROOT, RegistryNotFound |
18 from cubicweb.toolsutils import read_config, restrict_perms_to_user |
18 from cubicweb.toolsutils import read_config, restrict_perms_to_user |
26 'help': "cubicweb manager account's login " |
26 'help': "cubicweb manager account's login " |
27 '(this user will be created)', |
27 '(this user will be created)', |
28 'inputlevel': 0, |
28 'inputlevel': 0, |
29 }), |
29 }), |
30 ('password', {'type' : 'password', |
30 ('password', {'type' : 'password', |
|
31 'default': REQUIRED, |
31 'help': "cubicweb manager account's password", |
32 'help': "cubicweb manager account's password", |
32 'inputlevel': 0, |
33 'inputlevel': 0, |
33 }), |
34 }), |
34 ) |
35 ) |
35 |
36 |