summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-02-26 06:04:58 +0000
committerJeremy Katz <katzj@redhat.com>2002-02-26 06:04:58 +0000
commit26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d (patch)
treecfc2242c60e4cce65dce085f06209f05373be817 /fsset.py
parent0a2a22f53e624ca27412dd1615d1325a19c0288f (diff)
downloadanaconda-26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d.tar.gz
anaconda-26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d.tar.xz
anaconda-26b0210a2e45ab4ad7ec6382f0eda961b0d7fe6d.zip
merge from branch
Diffstat (limited to 'fsset.py')
-rw-r--r--fsset.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/fsset.py b/fsset.py
index b676ac970..eec44273b 100644
--- a/fsset.py
+++ b/fsset.py
@@ -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):