summaryrefslogtreecommitdiff
path: root/openstackclient/common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/common/utils.py')
-rw-r--r--openstackclient/common/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/common/utils.py b/openstackclient/common/utils.py
index 8a792675..56f9cd17 100644
--- a/openstackclient/common/utils.py
+++ b/openstackclient/common/utils.py
@@ -55,7 +55,7 @@ def find_resource(manager, name_or_id):
except Exception as ex:
try:
return manager.find(display_name=name_or_id)
- except:
+ except Exception:
pass
if type(ex).__name__ == 'NotFound':