[FIX][#382000] remove except block from try..finally whioch is not supported in python2.4

bzr revid: hmo@tinyerp.com-20090601110303-vdzk9r6ata1tz3it
This commit is contained in:
Harry (Open ERP)
2009-06-01 16:33:03 +05:30
parent 7b060fd468
commit e5cff96093
+1 -5
View File
@@ -136,11 +136,7 @@ class abstracted_fs:
res = cr.fetchone()
if res and len(res):
self.db_name_list.append(db_name)
cr.commit()
except Exception,e:
log(e)
if cr:
cr.rollback()
cr.commit()
finally:
if cr is not None:
cr.close()