From 5cbdadc3e8338f26fd7c061c269f0360016fa0a3 Mon Sep 17 00:00:00 2001 From: Ryan Fitzpatrick Date: Thu, 31 Aug 2017 13:17:16 -0400 Subject: [PATCH] Fix typo in scan_packages plugin --- awx/plugins/library/scan_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/plugins/library/scan_packages.py b/awx/plugins/library/scan_packages.py index 5195a051a6..3fd2edc1fa 100755 --- a/awx/plugins/library/scan_packages.py +++ b/awx/plugins/library/scan_packages.py @@ -74,7 +74,7 @@ def rpm_package_list(): def deb_package_list(): import apt apt_cache = apt.Cache() - installed_packages = [] + installed_packages = {} apt_installed_packages = [pk for pk in apt_cache.keys() if apt_cache[pk].is_installed] for package in apt_installed_packages: ac_pkg = apt_cache[package].installed