diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-26 06:00:48 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-26 06:00:48 +0000 |
commit | aff11b0588643d5ad85b8612ae4df92e6a9abcb5 (patch) | |
tree | 88b46e4460c4c01ca3746bc5c12b180f3e15d22d /fsset.py | |
parent | 40e74fbfd375d71198a961b094199e6434ca1ee5 (diff) | |
download | anaconda-aff11b0588643d5ad85b8612ae4df92e6a9abcb5.tar.gz anaconda-aff11b0588643d5ad85b8612ae4df92e6a9abcb5.tar.xz anaconda-aff11b0588643d5ad85b8612ae4df92e6a9abcb5.zip |
hrmm, I bet upgrades and rescue mode will work better now
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -64,8 +64,10 @@ def getUsableLinuxFs(): # make sure the default is first in the list, kind of ugly default = fileSystemTypeGetDefault() - if default in rc: - rc = [ default ] + rc.remove(default) + defaultName = default.getName() + if defaultName in rc: + del rc[rc.index(defaultName)] + rc.insert(0, defaultName) return rc def mountCompare(a, b): |