|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
This file handles the structure (strict) of the configuration file,
|
|
|
|
|
Not all elements are programmatically editable (for now)
|
|
|
|
|
"""
|
|
|
|
|
import meta
|
|
|
|
|
# import meta
|
|
|
|
|
class Section :
|
|
|
|
|
|
|
|
|
|
def build (self,**_args):
|
|
|
|
@ -36,7 +36,8 @@ class System (Section) :
|
|
|
|
|
"""
|
|
|
|
|
return 'default' if 'name' not in _args else _args['name']
|
|
|
|
|
def version(self,**_args):
|
|
|
|
|
return meta.__version__ if 'version' not in _args else _args['version']
|
|
|
|
|
import cms
|
|
|
|
|
return cms.meta.__version__ if 'version' not in _args else _args['version']
|
|
|
|
|
def context (self,**_args):
|
|
|
|
|
return "" if 'context' not in _args else _args['context']
|
|
|
|
|
def app (self,**_args):
|
|
|
|
|