equal
deleted
inserted
replaced
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 |