Commit 268e3f78 authored by Alan's avatar Alan

ASP: restore filtering of ASP after APT

Use a set instead of map object to restore intended behaviour of filter and
intersection.

Will-fix: #15822
parent a25c5aac
......@@ -462,9 +462,9 @@ def apt_hook_post():
packages = json.load(f)
os.remove(ASP_STATE_PACKAGES)
additional_packages_names = map(
additional_packages_names = set(map(
filter_package_details,
get_additional_packages(search_new_persistence=True))
get_additional_packages(search_new_persistence=True)))
apt_cache = apt.cache.Cache()
# Filter automatically installed packages and packages already configured
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment