Fixup pkgs being empty
This commit is contained in:
parent
8e4c62e082
commit
2351306ed7
@ -193,6 +193,7 @@ class PkgInstallComponent(ComponentBase):
|
||||
def install(self):
|
||||
LOG.debug('Preparing to install packages for %r', self.component_name)
|
||||
pkgs = self._get_packages()
|
||||
if pkgs:
|
||||
pkg_names = set([p['name'] for p in pkgs])
|
||||
utils.log_iterable(pkg_names, logger=LOG,
|
||||
header="Setting up %s distribution packages" % (len(pkg_names)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user