mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-07 08:46:21 +01:00
Fix pylint error W0212
This commit is contained in:
parent
8aa14207d0
commit
b4a7c5b5c8
6 changed files with 6 additions and 6 deletions
|
@ -164,7 +164,7 @@ class MetaData(object):
|
|||
editor = _conf_slpkg["EDITOR"]
|
||||
|
||||
# SBo downloading sources path
|
||||
_SBo_SOURCES = build_path + "_SOURCES/"
|
||||
SBo_SOURCES = build_path + "_SOURCES/"
|
||||
|
||||
# Remove any gaps
|
||||
repositories = [repo.strip() for repo in repositories]
|
||||
|
|
|
@ -48,7 +48,7 @@ class Initialization(object):
|
|||
self.lib_path = self.meta.lib_path
|
||||
self.tmp_path = self.meta.tmp_path
|
||||
self.build_path = self.meta.build_path
|
||||
self._SOURCES = self.meta._SBo_SOURCES
|
||||
self._SOURCES = self.meta.SBo_SOURCES
|
||||
self.slpkg_tmp_packages = self.meta.slpkg_tmp_packages
|
||||
self.slpkg_tmp_patches = self.meta.slpkg_tmp_patches
|
||||
if not os.path.exists(self.conf_path):
|
||||
|
|
|
@ -48,7 +48,7 @@ class BuildPackage(object):
|
|||
self.auto = auto
|
||||
self.meta = _meta_
|
||||
self.msg = Msg()
|
||||
self._SOURCES = self.meta._SBo_SOURCES
|
||||
self._SOURCES = self.meta.SBo_SOURCES
|
||||
self.prgnam = self.script[:-7]
|
||||
self.log_file = "build_{0}_log".format(self.prgnam)
|
||||
self.sbo_logs = self.meta.log_path + "sbo/"
|
||||
|
|
|
@ -68,7 +68,7 @@ class SBoNetwork(object):
|
|||
self.grey = self.meta.color["GREY"]
|
||||
self.endc = self.meta.color["ENDC"]
|
||||
self.build_folder = self.meta.build_path
|
||||
self._SOURCES = self.meta._SBo_SOURCES
|
||||
self._SOURCES = self.meta.SBo_SOURCES
|
||||
self.msg.reading()
|
||||
self.data = SBoGrep(name="").names()
|
||||
self.case_insensitive()
|
||||
|
|
|
@ -53,7 +53,7 @@ class QueuePkgs(object):
|
|||
self.quit = False
|
||||
self.queue = self.meta.lib_path + "queue/"
|
||||
self.queue_list = self.queue + "queue_list"
|
||||
self._SOURCES = self.meta._SBo_SOURCES
|
||||
self._SOURCES = self.meta.SBo_SOURCES
|
||||
if not os.path.exists(self.meta.lib_path):
|
||||
os.mkdir(self.meta.lib_path)
|
||||
if not os.path.exists(self.queue):
|
||||
|
|
|
@ -56,7 +56,7 @@ class SBoInstall(object):
|
|||
self.msg = Msg()
|
||||
self.arch = SBoArch().get()
|
||||
self.build_folder = self.meta.build_path
|
||||
self._SOURCES = self.meta._SBo_SOURCES
|
||||
self._SOURCES = self.meta.SBo_SOURCES
|
||||
for fl in self.flag:
|
||||
if fl.startswith("--directory-prefix="):
|
||||
self.build_folder = fl.split("=")[1]
|
||||
|
|
Loading…
Add table
Reference in a new issue