mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Updated code style
This commit is contained in:
parent
348e8ac8a7
commit
cc7f9e64a5
1 changed files with 3 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue