Updated for naming

This commit is contained in:
Dimitris Zlatanidis 2023-05-09 20:05:40 +03:00
parent 37596069c7
commit 693804b4a1
2 changed files with 4 additions and 4 deletions

View file

@ -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.
"""

View file

@ -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)