Няма описание
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920
  1. from lodel.settings.validator import SettingValidator
  2. CONFSPEC = {
  3. 'lodel2.webui': {
  4. 'standalone': ( False,
  5. SettingValidator('bool')),
  6. 'listen_address': ( '127.0.0.1',
  7. SettingValidator('dummy')),
  8. 'listen_port': ( '9090',
  9. SettingValidator('int')),
  10. },
  11. 'lodel2.webui.sessions': {
  12. 'directory': ( '/tmp/lodel2_session',
  13. SettingValidator('path')),
  14. 'expiration': ( 900,
  15. SettingValidator('int')),
  16. 'file_template': ( 'lodel2_%s.sess',
  17. SettingValidator('dummy')),
  18. }
  19. }