python: Change except: statement to except Exception:
[metze/samba/wip.git] / source4 / scripting / python / samba / netcmd / dbcheck.py
index bd250eb6be5aae0e290678837dbf669d9546d822..875b05950608e79ded390a5e4a1810a578c1f65b 100644 (file)
@@ -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