summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-27 19:59:54 +0000
committerMike Fulbright <msf@redhat.com>2002-06-27 19:59:54 +0000
commite1b5b272b1d3af96e9392fb4a37b8f32b95e0807 (patch)
tree1462f77f06b22b98f8c87bf3dc325b04ecfcdf79
parentd35e4bac71f5b92669fec1b23510ba0fc1c8f83a (diff)
downloadanaconda-e1b5b272b1d3af96e9392fb4a37b8f32b95e0807.tar.gz
anaconda-e1b5b272b1d3af96e9392fb4a37b8f32b95e0807.tar.xz
anaconda-e1b5b272b1d3af96e9392fb4a37b8f32b95e0807.zip
fixups based on pycheckeranaconda-7.3.92-1
-rwxr-xr-xgui.py4
-rw-r--r--iw/lvm_dialog_gui.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index ab8136240..ad9262153 100755
--- a/gui.py
+++ b/gui.py
@@ -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