diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-27 19:59:54 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-27 19:59:54 +0000 |
commit | e1b5b272b1d3af96e9392fb4a37b8f32b95e0807 (patch) | |
tree | 1462f77f06b22b98f8c87bf3dc325b04ecfcdf79 | |
parent | d35e4bac71f5b92669fec1b23510ba0fc1c8f83a (diff) | |
download | anaconda-7.3.92-1.tar.gz anaconda-7.3.92-1.tar.xz anaconda-7.3.92-1.zip |
fixups based on pycheckeranaconda-7.3.92-1
-rwxr-xr-x | gui.py | 4 | ||||
-rw-r--r-- | iw/lvm_dialog_gui.py | 3 |
2 files changed, 4 insertions, 3 deletions
@@ -127,14 +127,14 @@ def partedExceptionWindow(exc): numButtons = 0 buttonToAction = {} - flags = ((parted.EXCEPTION_FIX, N_("Fix")), + exflags = ((parted.EXCEPTION_FIX, N_("Fix")), (parted.EXCEPTION_YES, N_("Yes")), (parted.EXCEPTION_NO, N_("No")), (parted.EXCEPTION_OK, N_("OK")), (parted.EXCEPTION_RETRY, N_("Retry")), (parted.EXCEPTION_IGNORE, N_("Ignore")), (parted.EXCEPTION_CANCEL, N_("Cancel"))) - for flag, string in flags: + for flag, string in exflags: if exc.options & flag: win.add_button(_(string), flag) win.show_all() diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py index c5aab0a2d..48f381901 100644 --- a/iw/lvm_dialog_gui.py +++ b/iw/lvm_dialog_gui.py @@ -25,6 +25,7 @@ from fsset import * from partRequests import * from partition_ui_helpers_gui import * from constants import * +import lvm class VolumeGroupEditor: @@ -800,7 +801,7 @@ class VolumeGroupEditor: custom_icon="error") del tmpreq continue - + del tmpreq # get physical extent |