git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python: Change except: statement to except Exception:
[metze/samba/wip.git]
/
source4
/
scripting
/
python
/
samba
/
netcmd
/
dbcheck.py
diff --git
a/source4/scripting/python/samba/netcmd/dbcheck.py
b/source4/scripting/python/samba/netcmd/dbcheck.py
index bd250eb6be5aae0e290678837dbf669d9546d822..875b05950608e79ded390a5e4a1810a578c1f65b 100644
(file)
--- a/
source4/scripting/python/samba/netcmd/dbcheck.py
+++ b/
source4/scripting/python/samba/netcmd/dbcheck.py
@@
-112,7
+112,7
@@
class cmd_dbcheck(Command):
else:
error_count = chk.check_database(DN=DN, scope=search_scope,
controls=controls, attrs=attrs)
- except:
+ except
Exception
:
if started_transaction:
samdb.transaction_cancel()
raise