[entropy.db] EntropyRepositoryBase.__filterUse: add backward compatibility, if use flag is not listed, it's considered disabled
This commit is contained in:
@@ -4419,6 +4419,10 @@ class EntropyRepositoryBase(TextInterface, EntropyRepositoryPluginStore):
|
||||
# mark it as disabled if it's not available
|
||||
if en_use not in pkguse:
|
||||
pkguse.add(use)
|
||||
else:
|
||||
# for compatibility reasons with older Entropy versions,
|
||||
# use flags not in pkguse are considered disabled.
|
||||
pkguse.add(use)
|
||||
disabled_use.add(use)
|
||||
|
||||
enabled_not_satisfied = enabled_use - pkguse
|
||||
|
||||
Reference in New Issue
Block a user