diff options
author | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:49:46 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-05-04 19:49:46 +0000 |
commit | 177a3bd647a9eb556bba252aa91eef5f74add316 (patch) | |
tree | 06245b7951234641dcaef15503a0284b96094d46 | |
parent | b0f8d7de78cf598eb948965276d9daed9d35627d (diff) | |
download | anaconda-177a3bd647a9eb556bba252aa91eef5f74add316.tar.gz anaconda-177a3bd647a9eb556bba252aa91eef5f74add316.tar.xz anaconda-177a3bd647a9eb556bba252aa91eef5f74add316.zip |
Reference cmdline dict correctly.
-rw-r--r-- | upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py index 4ed558cb6..9e27ae84f 100644 --- a/upgrade.py +++ b/upgrade.py @@ -80,7 +80,7 @@ def findRootParts(anaconda): def findExistingRoots(intf, id, chroot, upgradeany = 0): if not flags.setupFilesystems: relstr = partedUtils.getReleaseString (chroot) - if ((cmdline.find("upgradeany") != -1) or + if ((flags.cmdline.find("upgradeany") != -1) or (upgradeany == 1) or (partedUtils.productMatches(relstr, productName))): return [(chroot, 'ext2', "")] |