diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-10 03:49:09 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-10 03:49:09 +0000 |
commit | bb175f4b79da791751fcfb5aab18f19c3b37b86e (patch) | |
tree | a581ac571acd173b23ea2227e2c51f10f2ef55bd /textw/upgrade_text.py | |
parent | f879cf8b0cfc1633e24e4c3d4f60d2888fc7288a (diff) | |
download | anaconda-bb175f4b79da791751fcfb5aab18f19c3b37b86e.tar.gz anaconda-bb175f4b79da791751fcfb5aab18f19c3b37b86e.tar.xz anaconda-bb175f4b79da791751fcfb5aab18f19c3b37b86e.zip |
report mount point correctly when querying about migrating fs on upgrade
Diffstat (limited to 'textw/upgrade_text.py')
-rw-r--r-- | textw/upgrade_text.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py index 7670247a5..02ff54ce1 100644 --- a/textw/upgrade_text.py +++ b/textw/upgrade_text.py @@ -23,7 +23,7 @@ from flags import flags from translate import _ class UpgradeMigrateFSWindow: - def __call__ (self, screen, partitions): + def __call__ (self, screen, fsset, partitions): migratereq = partitions.getMigratableRequests() @@ -45,9 +45,16 @@ class UpgradeMigrateFSWindow: migrating = 1 else: migrating = 0 + + entry = fsset.getEntryByDeviceName(req.device) + if not entry: + mntpt = "" + else: + mntpt =entry.mountpoint + partlist.append("%s - %s - %s" % (req.device, req.origfstype.getName(), - req.mountpoint), req, migrating) + mntpt), req, migrating) g.add(partlist, 0, 1, padding = (0, 0, 0, 1)) |