mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-10 20:48:40 +01:00
Removed for coding style
This commit is contained in:
parent
32348f7510
commit
72015a1ecb
2 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,6 @@ from slpkg.models.models import SBoTable, PonceTable, BinariesTable
|
||||||
|
|
||||||
|
|
||||||
class CreateData(Configs):
|
class CreateData(Configs):
|
||||||
""" Reads the SLACKBUILDS.TXT file and inserts them into the database. """
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(Configs, self).__init__()
|
super(Configs, self).__init__()
|
||||||
|
@ -22,7 +21,7 @@ class CreateData(Configs):
|
||||||
self.query = SBoQueries('')
|
self.query = SBoQueries('')
|
||||||
self.repos = Repositories()
|
self.repos = Repositories()
|
||||||
|
|
||||||
def install_sbo_table(self) -> None:
|
def install_sbos_data(self) -> None:
|
||||||
""" Install the data for SBo repository. """
|
""" Install the data for SBo repository. """
|
||||||
sbo_tags = [
|
sbo_tags = [
|
||||||
'SLACKBUILD NAME:',
|
'SLACKBUILD NAME:',
|
||||||
|
|
|
@ -114,7 +114,7 @@ class UpdateRepository(Configs):
|
||||||
self.utils.process(lftp_command)
|
self.utils.process(lftp_command)
|
||||||
|
|
||||||
self.delete_sbo_data()
|
self.delete_sbo_data()
|
||||||
self.data.install_sbo_table()
|
self.data.install_sbos_data()
|
||||||
|
|
||||||
def make_dirs(self, repo):
|
def make_dirs(self, repo):
|
||||||
""" Creating the repositories folders. """
|
""" Creating the repositories folders. """
|
||||||
|
|
Loading…
Add table
Reference in a new issue