mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated for comments
This commit is contained in:
parent
b19c874736
commit
37596069c7
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue