Updated for comments

This commit is contained in:
Dimitris Zlatanidis 2023-05-09 20:03:45 +03:00
parent b19c874736
commit 37596069c7

View file

@ -14,7 +14,9 @@ from slpkg.models.models import session as Session
class Download(Configs):
""" Download the slackbuilds with the sources only. """
""" Download only the sources and the slackbuilds or the packages
for binary repositories.
"""
def __init__(self, directory: Path, flags: list, data: dict, repository: str):
super(Configs, self).__init__()
@ -40,7 +42,6 @@ class Download(Configs):
['-z', '--directory='], flags)
def packages(self, packages: list) -> None:
""" Download the package only. """
packages: list = self.utils.apply_package_pattern(self.data, packages)
self.view.download_packages(packages, self.directory)
self.view.question()