mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-29 10:26:12 +01:00
Updated for coding style
This commit is contained in:
parent
39c9d57e76
commit
e15c0b34bb
1 changed files with 0 additions and 5 deletions
|
@ -154,10 +154,8 @@ class Slackbuilds(Configs):
|
|||
|
||||
def prepare_slackbuilds_for_build(self) -> None:
|
||||
sources: dict = {}
|
||||
|
||||
for sbo in self.install_order:
|
||||
if self.continue_build_or_install(sbo):
|
||||
|
||||
build_path: Path = Path(self.build_path, sbo)
|
||||
|
||||
self.utils.remove_folder_if_exists(build_path)
|
||||
|
@ -203,7 +201,6 @@ class Slackbuilds(Configs):
|
|||
|
||||
def build_and_install_the_slackbuilds(self) -> None:
|
||||
for sbo in self.install_order:
|
||||
|
||||
if self.continue_build_or_install(sbo):
|
||||
self.patch_slackbuild_tag(sbo)
|
||||
self.build_the_script(self.build_path, sbo)
|
||||
|
@ -220,7 +217,6 @@ class Slackbuilds(Configs):
|
|||
|
||||
def patch_slackbuild_tag(self, sbo: str) -> None:
|
||||
sbo_script: Path = Path(self.build_path, sbo, f'{sbo}.SlackBuild')
|
||||
|
||||
if sbo_script.is_file() and self.repo_tag:
|
||||
lines: list = self.utils.read_file(sbo_script)
|
||||
|
||||
|
@ -285,7 +281,6 @@ class Slackbuilds(Configs):
|
|||
|
||||
def multi_process(self, command: str, filename: str, message: str) -> None:
|
||||
if self.silent_mode and not self.option_for_no_silent:
|
||||
|
||||
done: str = f' {self.byellow} Done{self.endc}'
|
||||
self.stderr = subprocess.DEVNULL
|
||||
self.stdout = subprocess.DEVNULL
|
||||
|
|
Loading…
Reference in a new issue