diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-02-23 08:50:24 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-02-23 08:50:24 +0000 |
| commit | 02e5b6f41d2b5f026ce1f1f5b7026d5968a7c20f (patch) | |
| tree | 4e65880d9cbe6de2112b6d83fbf755a270f59c9f /openstackclient/api/utils.py | |
| parent | db4d73d8c8c3471df2f515d2881e121f456678d9 (diff) | |
| parent | 11a8f911affe10bacce41ad3474a28aff3417ec3 (diff) | |
| download | python-openstackclient-02e5b6f41d2b5f026ce1f1f5b7026d5968a7c20f.tar.gz | |
Merge "Use instanceof instead of type"
Diffstat (limited to 'openstackclient/api/utils.py')
| -rw-r--r-- | openstackclient/api/utils.py | 2 |
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. |
