summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-11-07 22:23:59 +0000
committerJeremy Katz <katzj@redhat.com>2002-11-07 22:23:59 +0000
commit40050639b372e0313fd5310ff5ed4ecb8be50325 (patch)
tree98bb24f5096eb8327bc4e95b56e7e57c10ffda69 /upgrade.py
parent78aa9cde1b1518a19dc3c267e90f2c79be5c66e7 (diff)
downloadanaconda-40050639b372e0313fd5310ff5ed4ecb8be50325.tar.gz
anaconda-40050639b372e0313fd5310ff5ed4ecb8be50325.tar.xz
anaconda-40050639b372e0313fd5310ff5ed4ecb8be50325.zip
handle no root parts to upgrade case 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 3ab6cd514..b8c75f42e 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -41,7 +41,7 @@ def findRootParts(intf, id, dispatch, dir, chroot):
for (dev, fs, meta) in id.rootParts:
id.upgradeRoot.append( (dev, fs) )
- if id.rootParts is not None:
+ if id.rootParts is not None and len(id.rootParts) > 0:
dispatch.skipStep("findinstall", skip = 0)
else:
dispatch.skipStep("findinstall", skip = 1)