diff options
-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 |