summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-03-05 11:41:45 -0500
committerChris Lumens <clumens@redhat.com>2009-03-05 12:51:37 -0500
commit1fed7809dc4704c78a54b0f33673a1107e374b51 (patch)
treeeb380c2296f0bdf5dca60b105d7108e181ff308f /textw
parent655419771822f9bb32f227957c6a3f1bed036ce2 (diff)
downloadanaconda-1fed7809dc4704c78a54b0f33673a1107e374b51.tar.gz
anaconda-1fed7809dc4704c78a54b0f33673a1107e374b51.tar.xz
anaconda-1fed7809dc4704c78a54b0f33673a1107e374b51.zip
Check to see if we're on S390 on the congrats screen (#488747).
This continues the war on calling iutil.isWhatever() everywhere. We can start using the platform module for that.
Diffstat (limited to 'textw')
-rw-r--r--textw/complete_text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/textw/complete_text.py b/textw/complete_text.py
index 1793cab10..fc4e5c1f9 100644
--- a/textw/complete_text.py
+++ b/textw/complete_text.py
@@ -22,6 +22,7 @@ from snack import *
from constants_text import *
from constants import *
import gettext
+import platform
_ = lambda x: gettext.ldgettext("anaconda", x)
class FinishedWindow:
@@ -34,7 +35,7 @@ class FinishedWindow:
screen.pushHelpLine (string.center(bottomstr, screen.width))
- if iutil.isS390():
+ if isinstance(anaconda.platform, platform.S390):
txt = _("Congratulations, your %s installation is complete.\n\n") % (productName,)
if not anaconda.canReIPL: