diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-06-06 16:33:31 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-06-06 16:33:31 +0000 |
commit | e0779b7bf137a60bf6e6cd3adee4aabffcd28c73 (patch) | |
tree | 20b8340a621390a3fc967ef5fb3723c78b4033c7 /constants.py | |
parent | 91d5fc40d23a5fb5b225287090e8074d0054fa6e (diff) | |
download | anaconda-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.py | 4 |
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 |