mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Updated for code style
This commit is contained in:
parent
9687c3937b
commit
e7e85f1ea0
1 changed files with 4 additions and 4 deletions
|
@ -9,14 +9,14 @@ from slpkg.blacklist import Blacklist
|
|||
from slpkg.utilities import Utilities
|
||||
|
||||
|
||||
class Check(Configs, Utilities):
|
||||
class Check(Configs):
|
||||
""" Some checks before proceed. """
|
||||
|
||||
def __init__(self):
|
||||
super(Configs, self).__init__()
|
||||
super(Utilities, self).__init__()
|
||||
|
||||
self.black = Blacklist()
|
||||
self.utils = Utilities()
|
||||
self.color = self.colour()
|
||||
|
||||
self.bold: str = self.color['bold']
|
||||
|
@ -66,9 +66,9 @@ class Check(Configs, Utilities):
|
|||
found, not_found = [], []
|
||||
|
||||
for sbo in slackbuilds:
|
||||
package: str = self.is_package_installed(sbo, file_pattern)
|
||||
package: str = self.utils.is_package_installed(sbo, file_pattern)
|
||||
if package:
|
||||
pkg_name: str = self.split_installed_pkg(package)[0]
|
||||
pkg_name: str = self.utils.split_installed_pkg(package)[0]
|
||||
found.append(pkg_name)
|
||||
else:
|
||||
not_found.append(sbo)
|
||||
|
|
Loading…
Reference in a new issue