etwist/twconfig.py
changeset 6012 d56fd78006cd
parent 5554 9b7bdbfee68b
child 6817 1959d97ebf2e
equal deleted inserted replaced
6011:b5f15098f282 6012:d56fd78006cd
    74           'default': None,
    74           'default': None,
    75           'help': 'if this option is set, use the specified user to start \
    75           'help': 'if this option is set, use the specified user to start \
    76 the repository rather than the user running the command',
    76 the repository rather than the user running the command',
    77           'group': 'main', 'level': WebConfiguration.mode == 'system'
    77           'group': 'main', 'level': WebConfiguration.mode == 'system'
    78           }),
    78           }),
    79         ('session-time',
       
    80          {'type' : 'time',
       
    81           'default': '30min',
       
    82           'help': 'session expiration time, default to 30 minutes',
       
    83           'group': 'main', 'level': 1,
       
    84           }),
       
    85         ('pyro-server',
    79         ('pyro-server',
    86          {'type' : 'yn',
    80          {'type' : 'yn',
    87           # pyro is only a recommends by default, so don't activate it here
    81           # pyro is only a recommends by default, so don't activate it here
    88           'default': False,
    82           'default': False,
    89           'help': 'run a pyro server',
    83           'help': 'run a pyro server',