Fix pylint error W0212

This commit is contained in:
Dimitris Zlatanidis 2016-01-12 04:15:42 +02:00
parent 8aa14207d0
commit b4a7c5b5c8
6 changed files with 6 additions and 6 deletions

View file

@ -164,7 +164,7 @@ class MetaData(object):
editor = _conf_slpkg["EDITOR"] editor = _conf_slpkg["EDITOR"]
# SBo downloading sources path # SBo downloading sources path
_SBo_SOURCES = build_path + "_SOURCES/" SBo_SOURCES = build_path + "_SOURCES/"
# Remove any gaps # Remove any gaps
repositories = [repo.strip() for repo in repositories] repositories = [repo.strip() for repo in repositories]

View file

@ -48,7 +48,7 @@ class Initialization(object):
self.lib_path = self.meta.lib_path self.lib_path = self.meta.lib_path
self.tmp_path = self.meta.tmp_path self.tmp_path = self.meta.tmp_path
self.build_path = self.meta.build_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_packages = self.meta.slpkg_tmp_packages
self.slpkg_tmp_patches = self.meta.slpkg_tmp_patches self.slpkg_tmp_patches = self.meta.slpkg_tmp_patches
if not os.path.exists(self.conf_path): if not os.path.exists(self.conf_path):

View file

@ -48,7 +48,7 @@ class BuildPackage(object):
self.auto = auto self.auto = auto
self.meta = _meta_ self.meta = _meta_
self.msg = Msg() self.msg = Msg()
self._SOURCES = self.meta._SBo_SOURCES self._SOURCES = self.meta.SBo_SOURCES
self.prgnam = self.script[:-7] self.prgnam = self.script[:-7]
self.log_file = "build_{0}_log".format(self.prgnam) self.log_file = "build_{0}_log".format(self.prgnam)
self.sbo_logs = self.meta.log_path + "sbo/" self.sbo_logs = self.meta.log_path + "sbo/"

View file

@ -68,7 +68,7 @@ class SBoNetwork(object):
self.grey = self.meta.color["GREY"] self.grey = self.meta.color["GREY"]
self.endc = self.meta.color["ENDC"] self.endc = self.meta.color["ENDC"]
self.build_folder = self.meta.build_path self.build_folder = self.meta.build_path
self._SOURCES = self.meta._SBo_SOURCES self._SOURCES = self.meta.SBo_SOURCES
self.msg.reading() self.msg.reading()
self.data = SBoGrep(name="").names() self.data = SBoGrep(name="").names()
self.case_insensitive() self.case_insensitive()

View file

@ -53,7 +53,7 @@ class QueuePkgs(object):
self.quit = False self.quit = False
self.queue = self.meta.lib_path + "queue/" self.queue = self.meta.lib_path + "queue/"
self.queue_list = self.queue + "queue_list" 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): if not os.path.exists(self.meta.lib_path):
os.mkdir(self.meta.lib_path) os.mkdir(self.meta.lib_path)
if not os.path.exists(self.queue): if not os.path.exists(self.queue):

View file

@ -56,7 +56,7 @@ class SBoInstall(object):
self.msg = Msg() self.msg = Msg()
self.arch = SBoArch().get() self.arch = SBoArch().get()
self.build_folder = self.meta.build_path self.build_folder = self.meta.build_path
self._SOURCES = self.meta._SBo_SOURCES self._SOURCES = self.meta.SBo_SOURCES
for fl in self.flag: for fl in self.flag:
if fl.startswith("--directory-prefix="): if fl.startswith("--directory-prefix="):
self.build_folder = fl.split("=")[1] self.build_folder = fl.split("=")[1]