summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2013-02-26 16:29:34 -0500
committerChris Lumens <clumens@redhat.com>2013-02-28 14:24:23 -0500
commitf900a722ca882dbd77e3522e87d43aeb3c46feff (patch)
tree4c99a656245280920967f0a9d0c44d92753872e5 /pyanaconda/ui
parent714b954248b54a7aabf36d4579d3b90b6f2f9113 (diff)
downloadanaconda-f900a722ca882dbd77e3522e87d43aeb3c46feff.tar.gz
anaconda-f900a722ca882dbd77e3522e87d43aeb3c46feff.tar.xz
anaconda-f900a722ca882dbd77e3522e87d43aeb3c46feff.zip
All Pages have a title, so get rid of the getattr games.
Diffstat (limited to 'pyanaconda/ui')
-rw-r--r--pyanaconda/ui/gui/spokes/custom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
index d540f2a25..def585cbe 100644
--- a/pyanaconda/ui/gui/spokes/custom.py
+++ b/pyanaconda/ui/gui/spokes/custom.py
@@ -1815,7 +1815,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
if not page:
page = self._current_page
- log.debug("show first mountpoint: %s" % getattr(page, "pageTitle", None))
+ log.debug("show first mountpoint: %s" % page.pageTitle)
if page.members:
if mountpoint:
for member in page.members:
@@ -2100,7 +2100,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
if not self._initialized:
return
- log.debug("page clicked: %s" % getattr(page, "pageTitle", None))
+ log.debug("page clicked: %s" % page.pageTitle)
if self._current_selector:
nb_page = self._partitionsNotebook.get_current_page()
log.debug("notebook page = %s" % nb_page)