summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-08 16:48:31 +0000
committerMatt Wilson <msw@redhat.com>1999-09-08 16:48:31 +0000
commitf07fd9793b12f18076939b72d3e387093f0b3d22 (patch)
tree5748dbe4b483e115614b5b4eb278cb84f6b933fc
parent22b451f2d69f3ec6047e3c2d3e867b3325350ee3 (diff)
downloadanaconda-f07fd9793b12f18076939b72d3e387093f0b3d22.tar.gz
anaconda-f07fd9793b12f18076939b72d3e387093f0b3d22.tar.xz
anaconda-f07fd9793b12f18076939b72d3e387093f0b3d22.zip
fix order of comparisons
-rw-r--r--todo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index ad10134d4..3d618feac 100644
--- a/todo.py
+++ b/todo.py
@@ -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