summaryrefslogtreecommitdiffstats
path: root/gui.py
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 /gui.py
parentd35e4bac71f5b92669fec1b23510ba0fc1c8f83a (diff)
downloadanaconda-e1b5b272b1d3af96e9392fb4a37b8f32b95e0807.tar.gz
anaconda-e1b5b272b1d3af96e9392fb4a37b8f32b95e0807.tar.xz
anaconda-e1b5b272b1d3af96e9392fb4a37b8f32b95e0807.zip
fixups based on pychecker
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py4
1 files changed, 2 insertions, 2 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()