buildframework/helium/tools/preparation/ci.ant.xml
changeset 645 b8d81fa19e7d
parent 628 7c4a911dc066
--- a/buildframework/helium/tools/preparation/ci.ant.xml	Wed Sep 29 17:48:06 2010 +0100
+++ b/buildframework/helium/tools/preparation/ci.ant.xml	Sun Oct 10 15:22:15 2010 +0300
@@ -73,8 +73,6 @@
     try:
         self.log(str("Removing %s" % dir_))
         fileutils.rmtree(dir_)
-    except Exception, exc:
-        self.log(str("ERROR: %s" % exc))
     except IOException, ioExc:
         self.log(str("ERROR: %s" % ioExc))
 
@@ -183,14 +181,10 @@
             update_session = False
 
     if update_session:
-        try:
-            self.log(str("Opening a new session for %s..." % database))
-            session = nokia.nokiaccm.open_session(database=database, engine=engine, dbpath=dbpath)
-            session.close_on_exit = False        
-            config[database] = session.addr()
-        except Exception, exc:
-            traceback.print_exc()
-            raise exc
+        self.log(str("Opening a new session for %s..." % database))
+        session = nokia.nokiaccm.open_session(database=database, engine=engine, dbpath=dbpath)
+        session.close_on_exit = False        
+        config[database] = session.addr()
     
 self.log(str("Updating the file %s..." % sessionFile))
 config.store(open(sessionFile, 'w+'))