diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-08 16:48:31 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-08 16:48:31 +0000 |
commit | f07fd9793b12f18076939b72d3e387093f0b3d22 (patch) | |
tree | 5748dbe4b483e115614b5b4eb278cb84f6b933fc | |
parent | 22b451f2d69f3ec6047e3c2d3e867b3325350ee3 (diff) | |
download | anaconda-f07fd9793b12f18076939b72d3e387093f0b3d22.tar.gz anaconda-f07fd9793b12f18076939b72d3e387093f0b3d22.tar.xz anaconda-f07fd9793b12f18076939b72d3e387093f0b3d22.zip |
fix order of comparisons
-rw-r--r-- | todo.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -509,7 +509,7 @@ class ToDo: continue # all valid fstab entries have 6 fields if len (fields) == 6: - if fields and fields[2] == "ext2" or fields[2] == "swap" \ + if fields and (fields[2] == "ext2" or fields[2] == "swap") \ and fields[3] == "defaults": fstab[fields[1]] = (fields[0][5:], fields[2], 0) return fstab |