type is never going to be a partition

This commit is contained in:
Michael Gerlach 2017-02-04 16:15:24 +01:00
parent 5cbd083392
commit 4eb90a544e

View file

@ -196,7 +196,7 @@ class FStab(Task):
def is_additional(partition):
return (not isinstance(partition, UnformattedPartition) and
partition.name not in ["boot", "swap", "root", "type"])
partition.name not in ["boot", "swap", "root"])
p_map = info.volume.partition_map
partitions = p_map.partitions