summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-04-20 20:24:08 +0000
committerErik Troan <ewt@redhat.com>2000-04-20 20:24:08 +0000
commit64aa471ace3dd5cdba8a32902d9b59274eeb1470 (patch)
tree676f51b2969e2cf1e478baa10891c0b140758c82
parente3c2b8e03c3f6dbf85e8f502e2d6de32a48e1a6f (diff)
downloadanaconda-64aa471ace3dd5cdba8a32902d9b59274eeb1470.tar.gz
anaconda-64aa471ace3dd5cdba8a32902d9b59274eeb1470.tar.xz
anaconda-64aa471ace3dd5cdba8a32902d9b59274eeb1470.zip
None is okay in the handlers table
-rw-r--r--kickstart.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 4dd28fbba..a3344e160 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -372,7 +372,8 @@ class Kickstart(InstallClass):
n = string.strip (n)
packages.append(n)
elif where == "commands":
- handlers[args[0]](args[1:])
+ if handlers[args[0]]:
+ handlers[args[0]](args[1:])
elif where == "pre" or where == "post":
script = script + n
else: