diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-23 13:25:22 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2007-03-23 13:25:22 +0000 |
commit | 7975e0c73e3f67e2714ef811ed8a116454cfed64 (patch) | |
tree | cc8d1e876176e8a0b758fde25cdfd89f0644e9ce | |
parent | use get_verbose() from IP instead of variable passed to __init__() (diff) | |
download | gli-7975e0c73e3f67e2714ef811ed8a116454cfed64.tar.gz gli-7975e0c73e3f67e2714ef811ed8a116454cfed64.tar.bz2 gli-7975e0c73e3f67e2714ef811ed8a116454cfed64.zip |
set verbose if -d/--debug on commandline
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/gli/branches/overhaul@1826 f8877401-5920-0410-a79b-8e2d7e04ca0d
-rwxr-xr-x | src/fe/gtk/gtkfe.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe/gtk/gtkfe.py b/src/fe/gtk/gtkfe.py index 06bcec3..cc4015f 100755 --- a/src/fe/gtk/gtkfe.py +++ b/src/fe/gtk/gtkfe.py @@ -71,6 +71,9 @@ class Installer: # Instantiate installer objects self.install_profile = GLIInstallProfile.InstallProfile() + if '-d' in sys.argv or '--debug' in sys.argv: + # Enable debug mode via commandline argument + self._install_profile.set_verbose(None, True, None) self.cc = GLIClientController.GLIClientController(self.install_profile) self.window = gtk.Window(gtk.WINDOW_TOPLEVEL) |