diff options
author | Peter Jones <pjones@redhat.com> | 2006-08-01 22:13:08 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-08-01 22:13:08 +0000 |
commit | 3525df4204ccf6dafdf9fb6f532dc6dc9f7631c0 (patch) | |
tree | acb986805df48cfe35eeb597abfd6dd019ab49a3 /upgrade.py | |
parent | 9f881a676af43807e74465db929fcdee32bbc02e (diff) | |
download | anaconda-3525df4204ccf6dafdf9fb6f532dc6dc9f7631c0.tar.gz anaconda-3525df4204ccf6dafdf9fb6f532dc6dc9f7631c0.tar.xz anaconda-3525df4204ccf6dafdf9fb6f532dc6dc9f7631c0.zip |
- make mpath + iscsi work
Diffstat (limited to 'upgrade.py')
-rw-r--r-- | upgrade.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/upgrade.py b/upgrade.py index bc506c3b8..5ae39c896 100644 --- a/upgrade.py +++ b/upgrade.py @@ -85,14 +85,13 @@ def findExistingRoots(anaconda, upgradeany = 0): return [(anaconda.rootPath, 'ext2', "")] return [] - diskset = partedUtils.DiskSet() - diskset.openDevices() + anaconda.id.diskset.openDevices() win = anaconda.intf.progressWindow(_("Searching"), _("Searching for %s installations...") % (productName,), 5) - rootparts = diskset.findExistingRootPartitions(anaconda, + rootparts = anaconda.id.diskset.findExistingRootPartitions(anaconda, upgradeany = upgradeany) for i in range(1, 6): time.sleep(0.25) @@ -101,7 +100,7 @@ def findExistingRoots(anaconda, upgradeany = 0): win.pop() # close the devices to make sure we don't leave things sitting open - diskset.closeDevices() + anaconda.id.diskset.closeDevices() # this is a hack... need to clear the skipped disk list after this partedUtils.DiskSet.skippedDisks = [] |