summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-03-22 19:43:03 +0000
committerChris Lumens <clumens@redhat.com>2006-03-22 19:43:03 +0000
commit205ad15b10bfdccfad61621ba3b4b7fef392c40f (patch)
treeb0089a49f0f2b34d494f2b28ee43579a1406c959 /text.py
parentdc78bd8e55b9b59a40b023bbbb43393f38582288 (diff)
downloadanaconda-205ad15b10bfdccfad61621ba3b4b7fef392c40f.tar.gz
anaconda-205ad15b10bfdccfad61621ba3b4b7fef392c40f.tar.xz
anaconda-205ad15b10bfdccfad61621ba3b4b7fef392c40f.zip
Create a dictionary in flags.py for storing /proc/cmdline. Nuke all
references to /proc/cmdline from everywhere else in favor of this dict.
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/text.py b/text.py
index 5d4eb2d38..0e0c01cfd 100644
--- a/text.py
+++ b/text.py
@@ -146,10 +146,10 @@ class ExceptionWindow:
self.buttons=[TEXT_OK_BUTTON]
- if floppy.hasFloppyDevice() == True or DEBUG:
+ if floppy.hasFloppyDevice() == True or flags.debug:
self.buttons.append(_("Save"))
- if hasActiveNetDev() or DEBUG:
+ if hasActiveNetDev() or flags.debug:
self.buttons.append(_("Remote"))
self.buttons.append(_("Debug"))
@@ -463,7 +463,7 @@ class InstallInterface:
self.screen.suspendCallback(spawnShell, self.screen)
# drop into the python debugger on ctrl-z if we're running in test mode
- if DEBUG or flags.test:
+ if flags.debug or flags.test:
self.screen.suspendCallback(debugSelf, self.screen)
# clear out the old root text by writing spaces in the blank