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

Possible error in code #11

Open
jdobes opened this issue Jun 16, 2015 · 2 comments
Open

Possible error in code #11

jdobes opened this issue Jun 16, 2015 · 2 comments
Labels

Comments

@jdobes
Copy link
Contributor

jdobes commented Jun 16, 2015

There are statements introduced by PR #1294 in koan/app.py like:

elif breed == "redhat" and (os_version >= "rhel7" or os_version >= "fedora17"):

However, statement "rhel6" >= "fedora17" is evaluated as True in Python. Am I correct?

@opoplawski
Copy link
Contributor

You are indeed. This should fix I believe.

jmaas added a commit that referenced this issue Dec 3, 2015
Fix os_version conditionals (issue #11)
@jmaas
Copy link
Member

jmaas commented Jan 22, 2016

Note to self: check if this needs backporting to 2.8

@SchoolGuy SchoolGuy added the bug label Jul 31, 2019
@SchoolGuy SchoolGuy moved this to Bug Reports in Koan Sep 26, 2022
@SchoolGuy SchoolGuy added this to Koan Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Bug Reports
Development

No branches or pull requests

4 participants