mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Refactor package and class name
This commit is contained in:
parent
59a3c52cfc
commit
4c92e288ca
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ from slpkg.logging_config import LoggingConfig
|
|||
from slpkg.find_installed import FindInstalled
|
||||
from slpkg.views.view_package import ViewPackage
|
||||
from slpkg.remove_packages import RemovePackages
|
||||
from slpkg.update_repository import UpdateRepository
|
||||
from slpkg.update_repositories import UpdateRepositories
|
||||
|
||||
|
||||
class Menu(Configs):
|
||||
|
@ -454,7 +454,7 @@ class Menu(Configs):
|
|||
|
||||
def update(self) -> None:
|
||||
if len(self.args) == 1:
|
||||
update = UpdateRepository(self.flags, self.repository)
|
||||
update = UpdateRepositories(self.flags, self.repository)
|
||||
update.repositories()
|
||||
raise SystemExit()
|
||||
self.usage.help_short(1)
|
||||
|
|
|
@ -18,7 +18,7 @@ from slpkg.models.models import (SBoTable, PonceTable,
|
|||
BinariesTable, LastRepoUpdated)
|
||||
|
||||
|
||||
class UpdateRepository(Configs):
|
||||
class UpdateRepositories(Configs):
|
||||
""" Updates the local repositories and install the data
|
||||
into the database.
|
||||
"""
|
Loading…
Reference in a new issue