[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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user