From e45826f95e9579b27d882547811a5396e8a900dc Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 26 Mar 2014 12:00:00 -0700 Subject: [PATCH] Update kickstart.py for new kickstart --- imgcreate/kickstart.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py index 1059801..14ddb4e 100644 --- a/imgcreate/kickstart.py +++ b/imgcreate/kickstart.py @@ -589,7 +589,7 @@ def inst_langs(ks): def get_pre_scripts(ks): scripts = [] for s in ks.handler.scripts: - if s.type != ksparser.KS_SCRIPT_PRE: + if s.type != ksconstants.KS_SCRIPT_PRE: continue scripts.append(s) return scripts @@ -597,7 +597,7 @@ def get_pre_scripts(ks): def get_post_scripts(ks): scripts = [] for s in ks.handler.scripts: - if s.type != ksparser.KS_SCRIPT_POST: + if s.type != ksconstants.KS_SCRIPT_POST: continue scripts.append(s) return scripts -- 2.11.4.GIT