summaryrefslogtreecommitdiffstats
path: root/constants.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 /constants.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 'constants.py')
-rw-r--r--constants.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/constants.py b/constants.py
index d4c1f4673..c9bc109b5 100644
--- a/constants.py
+++ b/constants.py
@@ -17,14 +17,8 @@ from rhpl.translate import _, N_
BETANAG = 1
-DEBUG = 0
-
SELINUX_DEFAULT = 1
-cmdline = open("/proc/cmdline", "r").read()
-if cmdline.find("debug") != -1:
- DEBUG = 1
-
DISPATCH_BACK = -1
DISPATCH_FORWARD = 1
DISPATCH_NOOP = None