diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2011-02-10 14:08:03 +0100 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2011-02-10 16:41:42 +0100 |
commit | 34c2c80299cf5a4cfb8378fe8f8e197318f7b605 (patch) | |
tree | 9d380ff256f103d28ad0b560bb2c89dce1dd4505 /pyanaconda/gui.py | |
parent | 77d80d83c75e6b5a89cab13f85bba567748a025d (diff) | |
download | anaconda-34c2c80299cf5a4cfb8378fe8f8e197318f7b605.tar.gz anaconda-34c2c80299cf5a4cfb8378fe8f8e197318f7b605.tar.xz anaconda-34c2c80299cf5a4cfb8378fe8f8e197318f7b605.zip |
gui: remove an unneeded parameter from questionInitializeDisk()
This propagates down to reinitializeDialog() and removes the parameter
there too. The variable is used by DeviceTree but it only repeats what is
already in the path parameter.
Diffstat (limited to 'pyanaconda/gui.py')
-rwxr-xr-x | pyanaconda/gui.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py index e04113cc5..92cae5568 100755 --- a/pyanaconda/gui.py +++ b/pyanaconda/gui.py @@ -754,7 +754,7 @@ class MessageWindow: class ReinitializeWindow(MessageWindow): - def __init__ (self, title, path, size, description, details, + def __init__ (self, title, path, size, description, default=None, run=True, parent=None, destroyAfterRun=True): self.debugRid = None @@ -1087,14 +1087,13 @@ class InstallInterface(InstallInterfaceBase): custom_buttons, custom_icon, run=True, parent=parent).getrc() return rc - def reinitializeWindow(self, title, path, size, description, details): + def reinitializeWindow(self, title, path, size, description): if self.icw: parent = self.icw.window else: parent = None - rc = ReinitializeWindow(title, path, size, description, details, - parent=parent).getrc() + rc = ReinitializeWindow(title, path, size, description, parent=parent).getrc() return rc def createRepoWindow(self): |