No Description
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.

confspec.py 389B

12345678910111213
  1. # -*- coding: utf-8 -*-
  2. from lodel.context import LodelContext
  3. LodelContext.expose_modules(globals(), {
  4. 'lodel.settings.validator': ['SettingValidator']})
  5. CONFSPEC = {
  6. 'lodel2.sessions':{
  7. 'directory': ('/tmp/', SettingValidator('path')),
  8. 'expiration': (900, SettingValidator('int')),
  9. 'file_template': ('lodel2_%s.sess', SettingValidator('dummy'))
  10. }
  11. }