python: Change except: statement to except Exception:
[samba.git] / source4 / dsdb / tests / python / dirsync.py
index 6da9003bf5660b02e7fb99a04a7aac13b5408a8d..64b847f4306fede087f30b4a41ee3d98701d3628 100755 (executable)
@@ -136,7 +136,7 @@ class SimpleDirsyncTests(DirsyncBaseTests):
         self.sd_utils.modify_sd_on_dn(self.base_dn, self.desc_sddl)
         try:
             self.ldb_admin.deletegroup("testgroup")
-        except:
+        except Exception:
             pass
 
     #def test_dirsync_errors(self):