From 72015a1ecbfea7f4394bec610f138b92fde5eec0 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 20 Mar 2023 20:09:47 +0200 Subject: [PATCH] Removed for coding style --- slpkg/install_data.py | 3 +-- slpkg/update_repository.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/slpkg/install_data.py b/slpkg/install_data.py index 374f7df9..0908e10c 100644 --- a/slpkg/install_data.py +++ b/slpkg/install_data.py @@ -12,7 +12,6 @@ from slpkg.models.models import SBoTable, PonceTable, BinariesTable class CreateData(Configs): - """ Reads the SLACKBUILDS.TXT file and inserts them into the database. """ def __init__(self): super(Configs, self).__init__() @@ -22,7 +21,7 @@ class CreateData(Configs): self.query = SBoQueries('') self.repos = Repositories() - def install_sbo_table(self) -> None: + def install_sbos_data(self) -> None: """ Install the data for SBo repository. """ sbo_tags = [ 'SLACKBUILD NAME:', diff --git a/slpkg/update_repository.py b/slpkg/update_repository.py index f984aaf4..7cd79468 100644 --- a/slpkg/update_repository.py +++ b/slpkg/update_repository.py @@ -114,7 +114,7 @@ class UpdateRepository(Configs): self.utils.process(lftp_command) self.delete_sbo_data() - self.data.install_sbo_table() + self.data.install_sbos_data() def make_dirs(self, repo): """ Creating the repositories folders. """