summaryrefslogtreecommitdiffstats
path: root/exception.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-12-17 23:35:03 -0500
committerChris Lumens <clumens@redhat.com>2010-02-04 14:07:28 -0500
commit7b2652c066dd27662c131a2c8abf466700024f26 (patch)
tree4b90fc32f3c5da77d0c881c42f30419cc33e516e /exception.py
parent5254ceaa579914280c4423aada787c2a150cd7ea (diff)
downloadanaconda-7b2652c066dd27662c131a2c8abf466700024f26.tar.gz
anaconda-7b2652c066dd27662c131a2c8abf466700024f26.tar.xz
anaconda-7b2652c066dd27662c131a2c8abf466700024f26.zip
Use anaconda.ksdata instead of anaconda.isKickstart.
anaconda.ksdata is only non-None if there's a kickstart file, just like anaconda.isKickstart would be. Therefore, we don't need two variables to test for the same condition.
Diffstat (limited to 'exception.py')
-rw-r--r--exception.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/exception.py b/exception.py
index 1ad7db285..361d78a85 100644
--- a/exception.py
+++ b/exception.py
@@ -47,7 +47,7 @@ class AnacondaExceptionHandler(ExceptionHandler):
# run kickstart traceback scripts (if necessary)
try:
- if anaconda.isKickstart:
+ if anaconda.ksdata:
kickstart.runTracebackScripts(anaconda)
except:
pass