summaryrefslogtreecommitdiffstats
path: root/upgrade.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 15:27:30 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 15:27:30 +0000
commitb15bb5d63e411f94476c7f064fec70e7c4209803 (patch)
tree39e58df2a3b9fe742b1843e9830254fa4f2a57f2 /upgrade.py
parent4599e0880fa17eedb9f733ec3531395bb2910990 (diff)
downloadanaconda-b15bb5d63e411f94476c7f064fec70e7c4209803.tar.gz
anaconda-b15bb5d63e411f94476c7f064fec70e7c4209803.tar.xz
anaconda-b15bb5d63e411f94476c7f064fec70e7c4209803.zip
Finish making non-UI steps pass around the anaconda object.
Diffstat (limited to 'upgrade.py')
-rw-r--r--upgrade.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/upgrade.py b/upgrade.py
index bbf246ef0..4ed558cb6 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -172,12 +172,12 @@ def bindMountDevDirectory(instPath):
fs.mount("/dev", "%s/dev" % (instPath,), bindMount=1)
# returns None if no filesystem exist to migrate
-def upgradeMigrateFind(dispatch, thefsset):
- migents = thefsset.getMigratableEntries()
+def upgradeMigrateFind(anaconda):
+ migents = anaconda.id.fsset.getMigratableEntries()
if not migents or len(migents) < 1:
- dispatch.skipStep("upgrademigratefs")
+ anaconda.dispatch.skipStep("upgrademigratefs")
else:
- dispatch.skipStep("upgrademigratefs", skip = 0)
+ anaconda.dispatch.skipStep("upgrademigratefs", skip = 0)
# returns None if no more swap is needed