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

Fixed inappropriate logical expression #3348

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/subscription_manager/productid.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def update_removed(self, active, temp_disabled_repos=None):
# If productid database does not know about the the product,
# ie, repo is None (basically, return from a db.content.get(),
# don't delete the cert because we don't know anything about it
if repos is None or repos is []:
if repos is None or repos == []:
# FIXME: this can also mean we need to update the product cert
# for prod_hash, since it is installed, but no longer maps to a repo
# no repos to check, go to next cert
Expand Down
Loading