diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-08-12 20:30:38 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-08-12 20:30:38 +0000 |
commit | a16c000a67df9c4689b42efe2f5e70468123d9da (patch) | |
tree | c26bc788286444f8e071ffdbdb4fdc2c5cee901a /textw | |
parent | ece24c2e7849fddccbae13f56ba4e19c06c78c29 (diff) | |
download | anaconda-a16c000a67df9c4689b42efe2f5e70468123d9da.tar.gz anaconda-a16c000a67df9c4689b42efe2f5e70468123d9da.tar.xz anaconda-a16c000a67df9c4689b42efe2f5e70468123d9da.zip |
fix ordering of upgrade vs install (#129803)
Diffstat (limited to 'textw')
-rw-r--r-- | textw/upgrade_text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py index b118a2010..3e2f1634d 100644 --- a/textw/upgrade_text.py +++ b/textw/upgrade_text.py @@ -220,10 +220,10 @@ class UpgradeExamineWindow: if button == TEXT_BACK_CHECK: return INSTALL_BACK else: - if choice >= len(parts): + if choice == len(parts): root = None else: - root = parts[choice] + root = parts[choice - 1] if root is not None: c = UpgradeClass(flags.expert) |