diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-01-24 11:54:54 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2012-01-24 03:32:40 +0100 |
commit | 1f0298dd1b1a939cb215e7b474178b217f8347f4 (patch) | |
tree | 6ca7a3908b797f6e35b91c6156fb9d9a5bed4697 /source4/dsdb/tests/python | |
parent | be292021f47eeaa1364bedb2dc9232b60c404fce (diff) | |
download | samba-1f0298dd1b1a939cb215e7b474178b217f8347f4.tar.gz samba-1f0298dd1b1a939cb215e7b474178b217f8347f4.tar.bz2 samba-1f0298dd1b1a939cb215e7b474178b217f8347f4.zip |
python: Change except: statement to except Exception:
This way we only catch true exceptions and keyboard interrupts
are not caught here.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
Diffstat (limited to 'source4/dsdb/tests/python')
-rwxr-xr-x | source4/dsdb/tests/python/dirsync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/dirsync.py b/source4/dsdb/tests/python/dirsync.py index 6da9003bf5..64b847f430 100755 --- a/source4/dsdb/tests/python/dirsync.py +++ b/source4/dsdb/tests/python/dirsync.py @@ -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): |