--- a/web/webctl.py Sat Jul 18 16:17:46 2009 +0200
+++ b/web/webctl.py Sat Jul 18 22:58:30 2009 +0200
@@ -8,6 +8,7 @@
"""
__docformat__ = "restructuredtext en"
+from cubicweb import underline_title
from cubicweb.toolsutils import CommandHandler, confirm
@@ -16,14 +17,12 @@
def bootstrap(self, cubes, inputlevel=0):
"""bootstrap this configuration"""
- print '** generic web configuration'
+ print '\n'+underline_title('Generic web configuration')
config = self.config
if config.repo_method == 'pyro':
- print
- print '** repository server configuration'
- print '-' * 72
+ print '\n'+underline_title('Repository server configuration')
config.input_config('pyro-client', inputlevel)
- if confirm('allow anonymous access', False):
+ if confirm('Allow anonymous access ?', False):
config.global_set_option('anonymous-user', 'anon')
config.global_set_option('anonymous-password', 'anon')