summaryrefslogtreecommitdiff
path: root/openstackclient/api/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/api/utils.py')
-rw-r--r--openstackclient/api/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/api/utils.py b/openstackclient/api/utils.py
index fa759cd3..ab0e23c2 100644
--- a/openstackclient/api/utils.py
+++ b/openstackclient/api/utils.py
@@ -61,7 +61,7 @@ def simple_filter(
# Searching data fields
search_value = d[attr]
elif (property_field and property_field in d and
- type(d[property_field]) is dict):
+ isinstance(d[property_field], dict)):
# Searching a properties field - do this separately because
# we don't want to fail over to checking the fields if a
# property name is given.