diff --git a/src/subscription_manager/productid.py b/src/subscription_manager/productid.py index db2aa31608..5a60e7b887 100644 --- a/src/subscription_manager/productid.py +++ b/src/subscription_manager/productid.py @@ -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