Refactor package and class name

This commit is contained in:
Dimitris Zlatanidis 2023-11-27 21:11:03 +02:00
parent 59a3c52cfc
commit 4c92e288ca
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ from slpkg.logging_config import LoggingConfig
from slpkg.find_installed import FindInstalled from slpkg.find_installed import FindInstalled
from slpkg.views.view_package import ViewPackage from slpkg.views.view_package import ViewPackage
from slpkg.remove_packages import RemovePackages from slpkg.remove_packages import RemovePackages
from slpkg.update_repository import UpdateRepository from slpkg.update_repositories import UpdateRepositories
class Menu(Configs): class Menu(Configs):
@ -454,7 +454,7 @@ class Menu(Configs):
def update(self) -> None: def update(self) -> None:
if len(self.args) == 1: if len(self.args) == 1:
update = UpdateRepository(self.flags, self.repository) update = UpdateRepositories(self.flags, self.repository)
update.repositories() update.repositories()
raise SystemExit() raise SystemExit()
self.usage.help_short(1) self.usage.help_short(1)

View file

@ -18,7 +18,7 @@ from slpkg.models.models import (SBoTable, PonceTable,
BinariesTable, LastRepoUpdated) BinariesTable, LastRepoUpdated)
class UpdateRepository(Configs): class UpdateRepositories(Configs):
""" Updates the local repositories and install the data """ Updates the local repositories and install the data
into the database. into the database.
""" """