Call the private methods correctly.
This commit is contained in:
parent
4b59f9593e
commit
2af6716ed6
@ -42,7 +42,7 @@ class Lorax:
|
|||||||
self.conf['datadir'] = '/usr/share/lorax'
|
self.conf['datadir'] = '/usr/share/lorax'
|
||||||
|
|
||||||
if repos != []:
|
if repos != []:
|
||||||
self.repo, self.extrarepos = self._collectRepos(repos)
|
self.repo, self.extrarepos = self.__collectRepos(repos)
|
||||||
else:
|
else:
|
||||||
self.repo = None
|
self.repo = None
|
||||||
self.extrarepos = []
|
self.extrarepos = []
|
||||||
@ -62,14 +62,18 @@ class Lorax:
|
|||||||
print("| Setting up work directories and configuration data... |")
|
print("| Setting up work directories and configuration data... |")
|
||||||
print("+=======================================================+\n")
|
print("+=======================================================+\n")
|
||||||
|
|
||||||
self.buildinstdir, self.treedir, self.cachedir = self._initializeDirs()
|
self.buildinstdir, self.treedir, self.cachedir = self.__initializeDirs()
|
||||||
self.yumconf = self._writeYumConf()
|
self.yumconf = self.__writeYumConf()
|
||||||
|
|
||||||
print("\n+================================================+")
|
print("\n+================================================+")
|
||||||
print("| Creating instroot tree to build images from... |")
|
print("| Creating instroot tree to build images from... |")
|
||||||
print("+================================================+\n")
|
print("+================================================+\n")
|
||||||
|
|
||||||
self.instroot = InstRoot(conf=self.conf, yumconf=self.yumconf, arch=self.getBuildArch(), treedir=self.treedir, updates=self.updates)
|
self.instroot = InstRoot(conf=self.conf,
|
||||||
|
yumconf=self.yumconf,
|
||||||
|
arch=self.getBuildArch(),
|
||||||
|
treedir=self.treedir,
|
||||||
|
updates=self.updates)
|
||||||
|
|
||||||
def showVersion(self, driver=None):
|
def showVersion(self, driver=None):
|
||||||
"""showVersion(driver)
|
"""showVersion(driver)
|
||||||
|
Loading…
Reference in New Issue
Block a user