equal
deleted
inserted
replaced
350 except BadSchemaDefinition: |
350 except BadSchemaDefinition: |
351 raise |
351 raise |
352 except Exception as ex: |
352 except Exception as ex: |
353 import traceback |
353 import traceback |
354 traceback.print_exc() |
354 traceback.print_exc() |
355 raise Exception('Is the database initialised ? (cause: %s)' % |
355 raise (Exception('Is the database initialised ? (cause: %s)' % ex), |
356 (ex.args and ex.args[0].strip() or 'unknown')), \ |
356 None, sys.exc_info()[-1]) |
357 None, sys.exc_info()[-1] |
|
358 return appschema |
357 return appschema |
359 |
358 |
360 def _prepare_startup(self): |
359 def _prepare_startup(self): |
361 """Prepare "Repository as a server" for startup. |
360 """Prepare "Repository as a server" for startup. |
362 |
361 |