mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-26 09:58:31 +01:00
Fixed docstrings
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
70535997d7
commit
7c4c685bee
1 changed files with 6 additions and 10 deletions
|
@ -18,11 +18,8 @@ from slpkg.sbos.sbo_generate import SBoGenerate
|
|||
|
||||
|
||||
class UpdateRepositories(Configs): # pylint: disable=[R0902]
|
||||
|
||||
"""
|
||||
Updates the local repositories and install the data
|
||||
into the database.
|
||||
"""
|
||||
"""Updates the local repositories
|
||||
and install the data into the database."""
|
||||
|
||||
def __init__(self, flags: list, repository: str):
|
||||
super(Configs, self).__init__()
|
||||
|
@ -42,8 +39,7 @@ class UpdateRepositories(Configs): # pylint: disable=[R0902]
|
|||
('-y', '--yes'), flags)
|
||||
|
||||
def repositories(self) -> None:
|
||||
""" Checks and call the repositories for update.
|
||||
"""
|
||||
"""Checks and call the repositories for update."""
|
||||
self.repos_for_update: dict = self.check_updates.updates()
|
||||
|
||||
if not any(list(self.repos_for_update.values())):
|
||||
|
|
Loading…
Reference in a new issue