diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-18 19:55:01 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-18 19:55:01 +0000 |
commit | ac4135263e08c1e5808b3bc4f51c47901ebb8085 (patch) | |
tree | 0dcdf95f2290add74e658cdc822c921e74e8428a | |
parent | 19c65f513f6bba81a95f4adbdc6dfdeaf28b913d (diff) | |
download | anaconda-ac4135263e08c1e5808b3bc4f51c47901ebb8085.tar.gz anaconda-ac4135263e08c1e5808b3bc4f51c47901ebb8085.tar.xz anaconda-ac4135263e08c1e5808b3bc4f51c47901ebb8085.zip |
fix pychecker complaints
-rw-r--r-- | dispatch.py | 2 | ||||
-rw-r--r-- | iw/bootloaderpassword_gui.py | 2 | ||||
-rw-r--r-- | iw/firewall_gui.py | 1 | ||||
-rw-r--r-- | iw/language_support_gui.py | 1 | ||||
-rw-r--r-- | textw/bootloader_text.py | 4 |
5 files changed, 5 insertions, 5 deletions
diff --git a/dispatch.py b/dispatch.py index 9e54a7c05..8c1ad0620 100644 --- a/dispatch.py +++ b/dispatch.py @@ -77,7 +77,7 @@ installSteps = [ "id.fsset", "id.diskset", "dir")), ("bootloader", ("dispatch", "id.bootloader", "id.fsset", "id.diskset")), - ("bootloaderpassword", ("id.bootloader",)), + ("bootloaderpassword", ("id.bootloader", "intf")), ("network", ("id.network",)), ("firewall", ("id.network", "id.firewall")), ("languagesupport", ("id.langSupport",)), diff --git a/iw/bootloaderpassword_gui.py b/iw/bootloaderpassword_gui.py index 23ae4c446..41025a856 100644 --- a/iw/bootloaderpassword_gui.py +++ b/iw/bootloaderpassword_gui.py @@ -48,7 +48,7 @@ class BootloaderPasswordWindow (InstallWindow): self.ics.setNextEnabled (FALSE) - def getScreen(self, bl): + def getScreen(self, bl, intf): self.bl = bl box = GtkVBox(FALSE, 5) diff --git a/iw/firewall_gui.py b/iw/firewall_gui.py index baebd09e9..4efe45891 100644 --- a/iw/firewall_gui.py +++ b/iw/firewall_gui.py @@ -1,4 +1,5 @@ from gtk import * +from gnome.ui import * from iw_gui import * from isys import * from translate import _, N_ diff --git a/iw/language_support_gui.py b/iw/language_support_gui.py index bed8831ed..a7c17fc51 100644 --- a/iw/language_support_gui.py +++ b/iw/language_support_gui.py @@ -4,7 +4,6 @@ from translate import _, N_ from xpms_gui import CHECKBOX_ON_XPM from xpms_gui import CHECKBOX_OFF_XPM import GdkImlib -from GDK import _2BUTTON_PRESS from gnome.ui import * from flags import flags import checklist diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py index e5efbea69..cf9fddf77 100644 --- a/textw/bootloader_text.py +++ b/textw/bootloader_text.py @@ -348,7 +348,7 @@ class BootloaderPassword: self.entry1.setFlags(FLAG_DISABLED, flag) self.entry2.setFlags(FLAG_DISABLED, flag) - def __call__(self, screen, bl): + def __call__(self, screen, bl, intf): if not bl.useGrub(): return INSTALL_NOOP @@ -409,7 +409,7 @@ class BootloaderPassword: confirm = self.entry2.value() if pw != confirm: - dispatch.intf.messageWindow(_("Passwords Do Not Match"), + intf.messageWindow(_("Passwords Do Not Match"), _("Passwords do not match")) continue |