Skip to content

Commit

Permalink
Fixed inappropriate logical expression
Browse files Browse the repository at this point in the history
  • Loading branch information
fazledyn-or authored Oct 27, 2023
1 parent 65ab1a6 commit 918860c
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 918860c

Please sign in to comment.