Updated code style

This commit is contained in:
Dimitris Zlatanidis 2022-12-26 12:45:32 +02:00
parent 348e8ac8a7
commit cc7f9e64a5

View file

@ -83,6 +83,7 @@ class Argparse:
if method == 'remove':
# Grab all the installed packages
installed = os.listdir(self.configs.log_packages)
for package in installed:
@ -98,7 +99,9 @@ class Argparse:
for pkg in packages:
if pkg in package:
repo_ver = SBoQueries(package).version()
if method == 'upgrade':
pkg = self.utils.is_installed(package)
inst_ver = self.utils.split_installed_pkg(pkg)[1]