equal
deleted
inserted
replaced
293 self.config = config |
293 self.config = config |
294 self.init_config = init_config |
294 self.init_config = init_config |
295 self._repo = None |
295 self._repo = None |
296 # pure consistency check |
296 # pure consistency check |
297 assert self.system_source['db-driver'] == self.DRIVER |
297 assert self.system_source['db-driver'] == self.DRIVER |
|
298 |
|
299 # some handlers want to store info here, avoid a warning |
|
300 from cubicweb.server.sources.native import NativeSQLSource |
|
301 NativeSQLSource.options += ( |
|
302 ('global-db-name', |
|
303 {'type': 'string', 'help': 'for internal use only' |
|
304 }), |
|
305 ) |
298 |
306 |
299 def _ensure_test_backup_db_dir(self): |
307 def _ensure_test_backup_db_dir(self): |
300 """Return path of directory for database backup. |
308 """Return path of directory for database backup. |
301 |
309 |
302 The function create it if necessary""" |
310 The function create it if necessary""" |