mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
[PR #7501/48e860be backport][stable-7] Use isinstance() instead of type() (#7502)
Use isinstance() instead of type() (#7501)
* Replace type comparisons with isinstance() checks.
* Add changelog.
(cherry picked from commit 48e860be20
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
770ae38aff
commit
1d6552e005
4 changed files with 5 additions and 3 deletions
2
changelogs/fragments/7501-type.yml
Normal file
2
changelogs/fragments/7501-type.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "ocapi_utils, oci_utils, redfish_utils module utils - replace ``type()`` calls with ``isinstance()`` calls (https://github.com/ansible-collections/community.general/pull/7501)."
|
Loading…
Add table
Add a link
Reference in a new issue