cwconfig.py
branchtls-sprint
changeset 819 7fd66f389ef7
parent 436 0e4fb0a257ab
child 1046 52ee022d87e3
equal deleted inserted replaced
816:9cd49a910fce 819:7fd66f389ef7
    57     return modes[0]
    57     return modes[0]
    58 
    58 
    59 # XXX generate this according to the configuration (repository/all-in-one/web)
    59 # XXX generate this according to the configuration (repository/all-in-one/web)
    60 VREGOPTIONS = []
    60 VREGOPTIONS = []
    61 for registry in ('etypes', 'hooks', 'controllers', 'actions', 'components',
    61 for registry in ('etypes', 'hooks', 'controllers', 'actions', 'components',
    62                  'views', 'templates', 'boxes', 'contentnavigation', 'urlrewriting',
    62                  'views', 'boxes', 'contentnavigation', 'urlrewriting',
    63                  'facets'):
    63                  'facets'):
    64     VREGOPTIONS.append(('disable-%s'%registry,
    64     VREGOPTIONS.append(('disable-%s'%registry,
    65                         {'type' : 'csv', 'default': (),
    65                         {'type' : 'csv', 'default': (),
    66                          'help': 'list of identifier of application objects from the %s registry to disable'%registry,
    66                          'help': 'list of identifier of application objects from the %s registry to disable'%registry,
    67                          'group': 'appobjects', 'inputlevel': 2,
    67                          'group': 'appobjects', 'inputlevel': 2,