summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/todo.py b/todo.py
index b0693965c..e872a3484 100644
--- a/todo.py
+++ b/todo.py
@@ -496,7 +496,8 @@ class ToDo:
fstab = {}
for line in lines:
fields = string.split (line)
- 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