etwist/twconfig.py
changeset 5323 329b4f6d18b4
parent 5270 6297d5265572
child 5327 34a298eca917
--- a/etwist/twconfig.py	Mon Apr 19 12:42:54 2010 +0200
+++ b/etwist/twconfig.py	Mon Apr 19 12:43:23 2010 +0200
@@ -30,51 +30,51 @@
          {'type' : 'string',
           'default': None,
           'help': 'host name if not correctly detectable through gethostname',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ('port',
          {'type' : 'int',
           'default': None,
           'help': 'http server port number (default to 8080)',
-          'group': 'main', 'inputlevel': 0,
+          'group': 'main', 'level': 0,
           }),
         ('pid-file',
          {'type' : 'string',
           'default': Method('default_pid_file'),
           'help': 'repository\'s pid file',
-          'group': 'main', 'inputlevel': 2,
+          'group': 'main', 'level': 2,
           }),
         ('uid',
          {'type' : 'string',
           'default': None,
           'help': 'if this option is set, use the specified user to start \
 the repository rather than the user running the command',
-          'group': 'main', 'inputlevel': WebConfiguration.mode == 'system'
+          'group': 'main', 'level': WebConfiguration.mode == 'system'
           }),
         ('max-post-length',
          {'type' : 'int',
           'default': 100,
           'help': 'maximum length of HTTP request, in Mo. Default to 100 Mo.',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ('session-time',
          {'type' : 'int',
           'default': 30*60,
           'help': 'session expiration time, default to 30 minutes',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ('profile',
          {'type' : 'string',
           'default': None,
           'help': 'profile code and use the specified file to store stats if this option is set',
-          'group': 'main', 'inputlevel': 2,
+          'group': 'main', 'level': 2,
           }),
         ('pyro-server',
          {'type' : 'yn',
           # pyro is only a recommends by default, so don't activate it here
           'default': False,
           'help': 'run a pyro server',
-          'group': 'main', 'inputlevel': 1,
+          'group': 'main', 'level': 1,
           }),
         ) + WebConfiguration.options)