[PATCH 4/4] Fix a couple incorrect usages of the super() function.

Chris Lumens clumens at redhat.com
Wed Jun 19 13:58:50 UTC 2013


---
 pyanaconda/packaging/livepayload.py        | 2 +-
 pyanaconda/ui/gui/spokes/lib/passphrase.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/packaging/livepayload.py b/pyanaconda/packaging/livepayload.py
index d38ca2b..377dc46 100644
--- a/pyanaconda/packaging/livepayload.py
+++ b/pyanaconda/packaging/livepayload.py
@@ -210,7 +210,7 @@ class LiveImageKSPayload(LiveImagePayload):
     def setup(self, storage):
         """ Check the availability and size of the image.
         """
-        super(LiveImagePayload, self).setup(storage)
+        super(LiveImageKSPayload, self).setup(storage)
 
         self._proxies = {}
         if self.data.method.proxy:
diff --git a/pyanaconda/ui/gui/spokes/lib/passphrase.py b/pyanaconda/ui/gui/spokes/lib/passphrase.py
index bd41bd5..938130b 100644
--- a/pyanaconda/ui/gui/spokes/lib/passphrase.py
+++ b/pyanaconda/ui/gui/spokes/lib/passphrase.py
@@ -40,7 +40,7 @@ class PassphraseDialog(GUIObject):
     uiFile = "spokes/lib/passphrase.glade"
 
     def refresh(self):
-        super(GUIObject, self).refresh()
+        super(PassphraseDialog, self).refresh()
 
         # disable input methods for the passphrase Entry widgets and make sure
         # the focus change mask is enabled
-- 
1.8.1.2



More information about the anaconda-patches mailing list