Reorder variables

This commit is contained in:
Dimitris Zlatanidis 2022-05-29 19:14:27 +03:00
parent 7acb3587e0
commit 1ea9e7b635

View file

@ -45,8 +45,6 @@ class Initialization(Utils):
self.check = check
self.meta = _meta_
self.arch = _meta_.arch
self.slack_ver = slack_ver()
self.def_repos_dict = Repo().default_repository()
self.conf_path = self.meta.conf_path
self.log_path = self.meta.log_path
self.lib_path = self.meta.lib_path
@ -55,8 +53,9 @@ class Initialization(Utils):
self._SOURCES = self.meta.SBo_SOURCES
self.slpkg_tmp_packages = self.meta.slpkg_tmp_packages
self.slpkg_tmp_patches = self.meta.slpkg_tmp_patches
self.slack_ver = slack_ver()
self.def_repos_dict = Repo().default_repository()
self.constructing()
self.database()
def constructing(self):
"""Creating the all necessary directories
@ -77,6 +76,7 @@ class Initialization(Utils):
self.make_dir(paths_basic)
self.make_dirs(paths_extra)
self.database()
def database(self):
"""Initializing the database