1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

Partially revert 1f0298dd1b

It's fine to catch keyboard interrupts and other kinds of errors when it's done just for resource management, where the error is reraised later.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Feb 25 17:29:34 CET 2012 on sn-devel-104
This commit is contained in:
Jelmer Vernooij
2012-02-25 15:56:25 +01:00
parent f5d706b0ee
commit 66f13ea1e9
7 changed files with 34 additions and 32 deletions

View File

@ -137,7 +137,7 @@ dn: @INDEXLIST
self.ldb.add_ldif(self.schema_dn_add)
self.ldb.modify_ldif(self.schema_dn_modify)
self.ldb.add_ldif(self.schema_data)
except Exception:
except:
self.ldb.transaction_cancel()
raise
else: