commit | 05d9fb9ad9173bfc9797fe4c6ce545e679fe9550 | [log] [tgz] |
---|---|---|
author | Matthew Treinish <treinish@linux.vnet.ibm.com> | Fri Dec 07 16:14:05 2012 -0500 |
committer | Gerrit Code Review <review@openstack.org> | Fri Dec 07 21:48:26 2012 +0000 |
tree | 087506997b839cd294623fd36fab2fc37ec400d2 | |
parent | a83a16ead5a103ceecfcaab70d2b4d7a421774a1 [diff] [blame] |
Fix use of except in tempest. Ensure that except has a condition to comply with rule TEMPEST N201. Change-Id: I96721394e5cfc31c163b3ec5ad5551f7cd5bbfab
diff --git a/tempest/tests/compute/base.py b/tempest/tests/compute/base.py index eb8b443..5094b46 100644 --- a/tempest/tests/compute/base.py +++ b/tempest/tests/compute/base.py
@@ -199,7 +199,7 @@ while True: try: condition() - except: + except Exception: pass else: return