summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-06-06 16:33:31 +0000
committerJeremy Katz <katzj@redhat.com>2003-06-06 16:33:31 +0000
commite0779b7bf137a60bf6e6cd3adee4aabffcd28c73 (patch)
tree20b8340a621390a3fc967ef5fb3723c78b4033c7 /constants.py
parent91d5fc40d23a5fb5b225287090e8074d0054fa6e (diff)
downloadanaconda-e0779b7bf137a60bf6e6cd3adee4aabffcd28c73.tar.gz
anaconda-e0779b7bf137a60bf6e6cd3adee4aabffcd28c73.tar.xz
anaconda-e0779b7bf137a60bf6e6cd3adee4aabffcd28c73.zip
merge taroon branch. mostly package bits, but a lot of other misc stuff
and cleanups in here too
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/constants.py b/constants.py
index 8365de134..73865b1cc 100644
--- a/constants.py
+++ b/constants.py
@@ -19,6 +19,10 @@ BETANAG = 1
DEBUG = 0
+cmdline = open("/proc/cmdline", "r").read()
+if cmdline.find("debug") != -1:
+ DEBUG = 1
+
DISPATCH_BACK = -1
DISPATCH_FORWARD = 1
DISPATCH_NOOP = None