summaryrefslogtreecommitdiffstats
path: root/textw
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 /textw
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 'textw')
-rw-r--r--textw/timezone_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/timezone_text.py b/textw/timezone_text.py
index a69328d8e..ab5ebe1bf 100644
--- a/textw/timezone_text.py
+++ b/textw/timezone_text.py
@@ -73,7 +73,7 @@ class TimezoneWindow:
t = TextboxReflowed(30,
_("In which time zone are you located?"))
- if not anaconda.isKickstart and not hasWindows(anaconda.id.bootloader):
+ if not anaconda.ksdata and not hasWindows(anaconda.id.bootloader):
asUtc = True
#