Updated for dependencies

This commit is contained in:
Dimitris Zlatanidis 2023-03-25 17:27:59 +02:00
parent be2d9de1c8
commit ec26f656de

View file

@ -91,8 +91,11 @@ class ViewMessage(Configs):
self.summary(slackbuilds, dependencies, option='build')
def install_packages(self, packages: list, dependencies: list, mode: str) -> None:
def install_packages(self, packages: list, mode: str, dependencies=None) -> None:
""" View packages for install. """
if dependencies is None:
dependencies = []
title: str = 'Install Packages'
if mode == 'upgrade':
title: str = 'Upgrade Packages'