diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-23 13:25:01 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-23 13:25:01 +0000 |
commit | f2834d0c45487ac1e98c90f532160edf246b8e97 (patch) | |
tree | 18ea7a318487d917b03e2ec396f15defe2edc5e0 | |
parent | fix none entry for bootloader. (diff) | |
download | gli-f2834d0c45487ac1e98c90f532160edf246b8e97.tar.gz gli-f2834d0c45487ac1e98c90f532160edf246b8e97.tar.bz2 gli-f2834d0c45487ac1e98c90f532160edf246b8e97.zip |
use get_verbose() from IP instead of variable passed to __init__()
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/branches/overhaul@1825 f8877401-5920-0410-a79b-8e2d7e04ca0d
-rw-r--r-- | src/GLIClientController.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GLIClientController.py b/src/GLIClientController.py index 0dc8c23..2644810 100644 --- a/src/GLIClientController.py +++ b/src/GLIClientController.py @@ -80,7 +80,7 @@ class GLIClientController(Thread): # This function runs as a second thread to do the actual installation (only used internally) def run(self): self._thread_pid = os.getpid() - if self._verbose: self._logger.log("DEBUG: secondary thread PID is " + str(self._thread_pid)) + if self._install_profile.get_verbose(): self._logger.log("DEBUG: secondary thread PID is " + str(self._thread_pid)) # Log installer version version_file = os.path.abspath(os.path.dirname(__file__)) + "/version-stamp" @@ -100,7 +100,7 @@ class GLIClientController(Thread): 'ppc': 'ppcArchitectureTemplate', 'ppc64': 'ppc64ArchitectureTemplate' } - if self._verbose: self._logger.log("DEBUG: arch is %s" % self.arch) + if self._install_profile.get_verbose(): self._logger.log("DEBUG: arch is %s" % self.arch) if self.arch not in templates: self.addNotification("exception", GLIException("UnsupportedArchitectureError", "fatal", "run", self.arch + ' is not supported by the Gentoo Linux Installer!')) @@ -155,7 +155,7 @@ class GLIClientController(Thread): # Performs the next install step def run_step(self, step): self._next_install_step = step - if self._verbose: self._logger.log("DEBUG: next_step(): setting Event() flag...starting step %s, %s" % (self._next_install_step, self._install_steps[self._next_install_step])) + if self._install_profile.get_verbose(): self._logger.log("DEBUG: next_step(): setting Event() flag...starting step %s, %s" % (self._next_install_step, self._install_steps[self._next_install_step])) self._install_event.set() ## |