server/repository.py
changeset 10110 f601d2fdeff7
parent 10039 1d1afe3b5081
child 10203 1443fe643a38
child 10285 d14db30b90d6
--- a/server/repository.py	Thu Nov 27 13:40:37 2014 +0100
+++ b/server/repository.py	Thu Jun 12 18:31:21 2014 +0200
@@ -338,8 +338,7 @@
             except Exception as ex:
                 import traceback
                 traceback.print_exc()
-                raise (Exception('Is the database initialised ? (cause: %s)' % ex),
-                       None, sys.exc_info()[-1])
+                raise Exception('Is the database initialised ? (cause: %s)' % ex)
         return appschema
 
     def _prepare_startup(self):