From 2af6716ed6fa5152a5f318d0bcbc8e831240b71b Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Thu, 9 Oct 2008 21:54:29 -1000 Subject: [PATCH] Call the private methods correctly. --- src/pylorax/__init__.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index 0bc35a9a..6f3f0a43 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -42,7 +42,7 @@ class Lorax: self.conf['datadir'] = '/usr/share/lorax' if repos != []: - self.repo, self.extrarepos = self._collectRepos(repos) + self.repo, self.extrarepos = self.__collectRepos(repos) else: self.repo = None self.extrarepos = [] @@ -62,14 +62,18 @@ class Lorax: print("| Setting up work directories and configuration data... |") print("+=======================================================+\n") - self.buildinstdir, self.treedir, self.cachedir = self._initializeDirs() - self.yumconf = self._writeYumConf() + self.buildinstdir, self.treedir, self.cachedir = self.__initializeDirs() + self.yumconf = self.__writeYumConf() print("\n+================================================+") print("| Creating instroot tree to build images from... |") 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): """showVersion(driver)