summaryrefslogtreecommitdiffstats
path: root/partitioning.py
diff options
context:
space:
mode:
Diffstat (limited to 'partitioning.py')
-rw-r--r--partitioning.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/partitioning.py b/partitioning.py
index 5390e6bd9..afcf8afc8 100644
--- a/partitioning.py
+++ b/partitioning.py
@@ -666,7 +666,7 @@ class Partitions:
# XXX this is a hack
format = 1
else:
- ptype = None
+ ptype = fsset.fileSystemTypeGet("foreign")
start = part.geom.start
end = part.geom.end
@@ -1177,11 +1177,6 @@ def doEditPartitionByRequest(intf, requestlist, part):
drive = [ get_partition_drive(part) ])
return ("PARTITION", request)
- elif (part.fs_type == None) or (part.fs_type and not part.fs_type.name):
- intf.messageWindow( _("Filesystem Missing"),
- _("You cannot edit partitions "
- "without a filesystem type."))
- return (None, None)
elif part.type & parted.PARTITION_EXTENDED:
return (None, None)