Merge print

This commit is contained in:
Dimitris Zlatanidis 2023-04-29 22:52:07 +03:00
parent ed376f30df
commit 800f473c97
3 changed files with 3 additions and 4 deletions

View file

@ -124,7 +124,6 @@ class Packages(Configs):
if pkg_urls:
down = Downloader(self.tmp_slpkg, pkg_urls, self.flags)
down.download()
print()
def continue_install(self, name) -> bool:
""" Skip installed package when the option --skip-installed is applied

View file

@ -42,6 +42,7 @@ class Downloader(Configs):
else:
for url in self.urls:
self.tool(url)
print()
def tool(self, url: str) -> None:
""" Downloader tools wget, wget2, curl and lftp. """
@ -64,8 +65,8 @@ class Downloader(Configs):
else:
self.errors.raise_error_message(f"Downloader '{self.downloader}' not supported", exit_status=1)
self.utils.process(command)
self.check_if_downloaded(url, filename)
self.utils.process(command)
self.check_if_downloaded(url, filename)
def check_if_downloaded(self, url: str, filename: str) -> None:
""" Checks if the file downloaded. """

View file

@ -195,7 +195,6 @@ class Slackbuilds(Configs):
down_urls.download()
self.checksum_downloads()
print() # New line here.
def checksum_downloads(self) -> None:
""" Checking the correct checksums. """