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 RDP var contains string instead of bool #5994

Merged

Conversation

jkonecny12
Copy link
Member

The issue with the original code is in python behavior. Python on this code:

"a" or "b"

will give you

"b"

instead of probably expected 'True' value. This is fix to avoid break of the code in the future because this variable should keep boolean value.

The issue with the original code is in python behavior. Python on this
code:

"a" or "b"

will give you

"b"

instead of probably expected 'True' value. This is fix to avoid break
of the code in the future because this variable should keep boolean
value.
@github-actions github-actions bot added the f42 Fedora 42 label Nov 12, 2024
@jkonecny12
Copy link
Member Author

/kickstart-test --testtype smoke

Copy link
Contributor

@M4rtinK M4rtinK left a comment

Choose a reason for hiding this comment

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

Quite a nice gotcha - I wonder if we might have similar issues elsewhere in the code ?

Thanks for the fix! :)

@jkonecny12
Copy link
Member Author

I wouldn't be surprised by that. I just works in most of the cases.

I found that by accident when I was debugging other issue.

@jkonecny12 jkonecny12 merged commit 50e55fd into rhinstaller:master Nov 12, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants