Blob Blame History Raw
--- childsplay-1.6/SPDataManager.py	2010-05-20 07:44:00.000000000 +0200
+++ childsplay-1.6/SPDataManager.py	2011-08-21 16:23:21.870061695 +0200
@@ -38,7 +38,7 @@
 
 try:
     import sqlalchemy as sqla
-    import sqlalchemy.exceptions as sqlae
+    from sqlalchemy import exc as sqlae
     import SQLTables
 except ImportError:
     module_logger.exception("No sqlalchemy package found")
--- childsplay-1.6/SPMainCore.py~	2011-06-03 13:24:28.000000000 +0200
+++ childsplay-1.6/SPMainCore.py	2011-12-15 11:50:56.590947343 +0100
@@ -61,7 +61,7 @@ import Version
 from SPocwWidgets import ExitDialog, InfoDialog, GraphDialog, Graph, Label, \
     ExeCounter
 from SPVirtualkeyboard import VirtualKeyboard
-from sqlalchemy import exceptions as sqla_exceptions
+from sqlalchemy import exc as sqla_exceptions
 
 # Used to cleanup stuff when the Python vm ends
 def cleanup():
@@ -197,7 +197,7 @@ class MainCoreGui:
         # get a datamanager which will also handle the login screen
         try:
             self.dm = SPDataManager.DataManager(self.spgoodies)
-        except sqla_exceptions.SQLError:
+        except sqla_exceptions.SQLAlchemyError:
             self.logger.exception("Error while handeling the dbase, try removing the existing dbase")
         # setup misc stuff