summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-06-14 18:49:53 +0000
committerChris Lumens <clumens@redhat.com>2007-06-14 18:49:53 +0000
commite353c04891cb1a86aff9a761706f4f0eb8a55be5 (patch)
tree87b7086a85e79ca0e930e7392fab055d407d1ad5
parent1bffd92392add0a0571a7b8b170227c0068de7d0 (diff)
downloadanaconda-e353c04891cb1a86aff9a761706f4f0eb8a55be5.tar.gz
anaconda-e353c04891cb1a86aff9a761706f4f0eb8a55be5.tar.xz
anaconda-e353c04891cb1a86aff9a761706f4f0eb8a55be5.zip
Import tempfile to fix kickstart install tracebacks (#244240).
-rw-r--r--ChangeLog5
-rw-r--r--kickstart.py2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cb1485397..1446a96b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-14 Chris Lumens <clumens@redhat.com>
+
+ * kickstart.py (pullRemainingKickstartConfig): Import tempfile to
+ fix kickstart install tracebacks (#244240).
+
2007-06-12 David Cantrell <dcantrell@redhat.com>
* anaconda.spec: Bump version.
diff --git a/kickstart.py b/kickstart.py
index 576e86777..789329f3e 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -983,6 +983,8 @@ class Kickstart(cobject):
# use %ksappend to pull via https anything private (like passwords, etc) in
# the second stage.
def pullRemainingKickstartConfig(ksfile):
+ import tempfile
+
# Open the input kickstart file and read it all into a list.
try:
inF = open(ksfile, "r")