summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 19:49:46 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 19:49:46 +0000
commit177a3bd647a9eb556bba252aa91eef5f74add316 (patch)
tree06245b7951234641dcaef15503a0284b96094d46 /upgrade.py
parentb0f8d7de78cf598eb948965276d9daed9d35627d (diff)
downloadanaconda-177a3bd647a9eb556bba252aa91eef5f74add316.tar.gz
anaconda-177a3bd647a9eb556bba252aa91eef5f74add316.tar.xz
anaconda-177a3bd647a9eb556bba252aa91eef5f74add316.zip
Reference cmdline dict correctly.
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py2
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', "")]