diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-02-26 06:04:58 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-02-26 06:04:58 +0000 |
commit | 26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d (patch) | |
tree | cfc2242c60e4cce65dce085f06209f05373be817 /fsset.py | |
parent | 0a2a22f53e624ca27412dd1615d1325a19c0288f (diff) | |
download | anaconda-26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d.tar.gz anaconda-26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d.tar.xz anaconda-26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d.zip |
merge from branch
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -70,9 +70,10 @@ def getUsableLinuxFs(): # make sure the default is first in the list, kind of ugly default = fileSystemTypeGetDefault() - if default in rc: - del rc[rc.index(default)] - rc.insert(0, default) + defaultName = default.getName() + if defaultName in rc: + del rc[rc.index(defaultName)] + rc.insert(0, defaultName) return rc def mountCompare(a, b): |