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

Fix SyntaxWarning from use of is with string literal. #225

Merged
merged 1 commit into from
May 12, 2020

Conversation

gordonmessmer
Copy link
Contributor

Use of "is" results in this warning:

/usr/lib/python3.8/site-packages/ansible_bender/core.py:370: SyntaxWarning: "is" with a literal. Did you mean "=="?

Copy link
Collaborator

@TomasTomecek TomasTomecek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@TomasTomecek
Copy link
Collaborator

/packit build

@packit-as-a-service
Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/ansible-community-ansible-bender-225
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@TomasTomecek TomasTomecek added the gate Gate PR in Zuul CI label May 12, 2020
@ansible-zuul ansible-zuul bot merged commit 7ac1896 into ansible-community:master May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gate Gate PR in Zuul CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants