diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-23 21:36:45 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-23 21:36:45 +0000 |
commit | 28a088288efe09892e59e98f860faf5f94892ad8 (patch) | |
tree | 79ff740f30e052cd9d3840a933db7d52b857e63f | |
parent | 199794911e1d99c499de2bdc9790fb947b2d4ea8 (diff) | |
download | anaconda-28a088288efe09892e59e98f860faf5f94892ad8.tar.gz anaconda-28a088288efe09892e59e98f860faf5f94892ad8.tar.xz anaconda-28a088288efe09892e59e98f860faf5f94892ad8.zip |
Fix deprecation warning.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | iw/partition_ui_helpers_gui.py | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-05-23 Chris Lumens <clumens@redhat.com> + + * iw/partition_ui_helpers_gui.py (mountptchangeCB): Fix deprecation + warning. + 2006-05-23 Jeremy Katz <katzj@redhat.com> * scripts/upd-instroot (LIBDIR): libdir on ppc64 is lib64 diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py index 382fc6328..309ccbf5d 100644 --- a/iw/partition_ui_helpers_gui.py +++ b/iw/partition_ui_helpers_gui.py @@ -27,6 +27,7 @@ from partIntfHelpers import * from partRequests import * from partedUtils import * +import rhpl from rhpl.translate import _, N_ class WideCheckList(checklist.CheckList): @@ -193,8 +194,7 @@ def createFSTypeMenu(fstype, fstypechangeCB, mountCombo, return fstypecombo def mountptchangeCB(widget, fstypecombo): - if iutil.getArch() == "ia64" and widget.get_children()[0].get_text() == "/boot/efi": - + if rhpl.getArch() == "ia64" and widget.get_children()[0].get_text() == "/boot/efi": fstypecombo.set_active_text("vfat") def formatOptionCB(widget, data): |