diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-02-25 15:56:25 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-02-25 17:29:34 +0100 |
commit | 66f13ea1e9ad8d66f6dec7e6a4716bcdb1dfbfa0 (patch) | |
tree | 13ba3c83f9b34effb7b51412c97cd49bfe02c0ae /source4/scripting/python/samba/netcmd | |
parent | f5d706b0ee8486f94853db8e38538c3a74b2e0bb (diff) | |
download | samba-66f13ea1e9ad8d66f6dec7e6a4716bcdb1dfbfa0.tar.gz samba-66f13ea1e9ad8d66f6dec7e6a4716bcdb1dfbfa0.tar.xz samba-66f13ea1e9ad8d66f6dec7e6a4716bcdb1dfbfa0.zip |
Partially revert 1f0298dd1b1a939cb215e7b474178b217f8347f4
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
Diffstat (limited to 'source4/scripting/python/samba/netcmd')
-rw-r--r-- | source4/scripting/python/samba/netcmd/dbcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/dbcheck.py b/source4/scripting/python/samba/netcmd/dbcheck.py index 72b2f9189aa..db02c6a23d9 100644 --- a/source4/scripting/python/samba/netcmd/dbcheck.py +++ b/source4/scripting/python/samba/netcmd/dbcheck.py @@ -117,7 +117,7 @@ class cmd_dbcheck(Command): else: error_count = chk.check_database(DN=DN, scope=search_scope, controls=controls, attrs=attrs) - except Exception: + except: if started_transaction: samdb.transaction_cancel() raise |