doc/source/vmm_config.rst
branchv0.6.x
changeset 215 33f727efa7c4
parent 209 c705a9e38962
child 216 0c8c053b451c
equal deleted inserted replaced
214:84e6e898e6c5 215:33f727efa7c4
    47               LazyConfig.__init__(self)
    47               LazyConfig.__init__(self)
    48               ...
    48               ...
    49               LCO = LazyConfigOption
    49               LCO = LazyConfigOption
    50               self._cfg = {
    50               self._cfg = {
    51                   'database': {# section database:
    51                   'database': {# section database:
    52                       'host': LCO(str, '::1', self.get),# options of the
    52                       'host': LCO(str, '::1', self.get), # options of the
    53                       'name': LCO(str, 'dbx', self.get),# database section.
    53                       'name': LCO(str, 'dbx', self.get), # database section.
    54                       'pass': LCO(str, None,  self.get),# No defaults for the
    54                       'pass': LCO(str, None, self.get),  # No defaults for the
    55                       'user': LCO(str, None,  self.get),# user and pass options
    55                       'user': LCO(str, None, self.get),  # user and pass options
    56                   }
    56                   }
    57               }
    57               }
    58 
    58 
    59           ...
    59           ...
    60 
    60