[Fedora-livecd-list] imgcreate/kickstart.py

Brian C. Lane bcl at fedoraproject.org
Wed Mar 26 19:00:18 UTC 2014


 imgcreate/kickstart.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e45826f95e9579b27d882547811a5396e8a900dc
Author: Brian C. Lane <bcl at redhat.com>
Date:   Wed Mar 26 12:00:00 2014 -0700

    Update kickstart.py for new kickstart

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




More information about the livecd mailing list