mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Updated for naming
This commit is contained in:
parent
37596069c7
commit
693804b4a1
2 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ from slpkg.repositories import Repositories
|
|||
from slpkg.models.models import session as Session
|
||||
|
||||
|
||||
class Download(Configs):
|
||||
class DownloadOnly(Configs):
|
||||
""" Download only the sources and the slackbuilds or the packages
|
||||
for binary repositories.
|
||||
"""
|
||||
|
|
|
@ -18,13 +18,13 @@ from slpkg.search import SearchPackage
|
|||
from slpkg.views.cli_menu import Usage
|
||||
from slpkg.dialog_box import DialogBox
|
||||
from slpkg.views.version import Version
|
||||
from slpkg.download_only import Download
|
||||
from slpkg.sbos.queries import SBoQueries
|
||||
from slpkg.views.help_commands import Help
|
||||
from slpkg.repositories import Repositories
|
||||
from slpkg.binaries.install import Packages
|
||||
from slpkg.dialog_configs import FormConfigs
|
||||
from slpkg.check_updates import CheckUpdates
|
||||
from slpkg.download_only import DownloadOnly
|
||||
from slpkg.sbos.slackbuild import Slackbuilds
|
||||
from slpkg.binaries.queries import BinQueries
|
||||
from slpkg.logging_config import LoggingConfig
|
||||
|
@ -643,8 +643,8 @@ class Argparse(Configs):
|
|||
packages: list = self.choose_packages(packages, command)
|
||||
|
||||
self.check.package_exists_in_the_database(packages)
|
||||
download = Download(self.directory, self.flags, self.data, self.repository)
|
||||
download.packages(packages)
|
||||
down_only = DownloadOnly(self.directory, self.flags, self.data, self.repository)
|
||||
down_only.packages(packages)
|
||||
raise SystemExit()
|
||||
self.usage.help_short(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue