Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[backport][release_2.2] Use isinstance API instead of type API #1069

Merged
merged 1 commit into from May 9, 2022

Conversation

Akasurde
Copy link
Member

@Akasurde Akasurde commented May 9, 2022

SUMMARY

correct way to check datatype of variable is isinstance

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com
(cherry picked from commit a349921)

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ansible_runner/utils/init.py

@Akasurde Akasurde requested a review from a team as a code owner May 9, 2022 14:15
correct way to check datatype of variable is `isinstance`

(cherry picked from commit a349921)

Signed-off-by: Abhijeet Kasurde <akasurde@redhddat.com>
@Akasurde Akasurde force-pushed the backport/release_2.2/1066 branch from 8504780 to d7dd07f Compare May 9, 2022 14:16
@Akasurde Akasurde changed the title Use isinstance API instead of type API (#1066) Use isinstance API instead of type API May 9, 2022
@Akasurde Akasurde changed the title Use isinstance API instead of type API [backport][release_2.2] Use isinstance API instead of type API May 9, 2022
@Shrews Shrews merged commit 4c614e0 into ansible:release_2.2 May 9, 2022
@Akasurde Akasurde deleted the backport/release_2.2/1066 branch May 9, 2022 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants