diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-10 04:31:24 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-10 04:31:24 +0000 |
commit | a6e885de3bd709e05a26e16f3a03ee1ac1202a83 (patch) | |
tree | c2f5f56139fe1a06339b0624146f9f32d172da3b /partitioning.py | |
parent | 40a514a8d6eedf28ce1cdb53739187cea9b56862 (diff) | |
download | anaconda-a6e885de3bd709e05a26e16f3a03ee1ac1202a83.tar.gz anaconda-a6e885de3bd709e05a26e16f3a03ee1ac1202a83.tar.xz anaconda-a6e885de3bd709e05a26e16f3a03ee1ac1202a83.zip |
gracefully handle partitions which we don't understand the fstype of
(and hence, which have an fs type of None). set to foreign fs type
and allow formatting of these partitions
Diffstat (limited to 'partitioning.py')
-rw-r--r-- | partitioning.py | 7 |
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) |