summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-06-27 02:44:44 +0000
committerJeremy Katz <katzj@redhat.com>2001-06-27 02:44:44 +0000
commit7042a5d384cca20fc00c53a46d50852b850233e8 (patch)
tree92de0551e9e4d499a79b5e9f59d210e7612fa730 /textw
parentcf2bfe16a71c2546087a0ccaebc711da45f14f55 (diff)
downloadanaconda-7042a5d384cca20fc00c53a46d50852b850233e8.tar.gz
anaconda-7042a5d384cca20fc00c53a46d50852b850233e8.tar.xz
anaconda-7042a5d384cca20fc00c53a46d50852b850233e8.zip
more can't edit None partitions
Diffstat (limited to 'textw')
-rw-r--r--textw/partition_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/partition_text.py b/textw/partition_text.py
index ebb6fd6e3..94ecb7a49 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -669,7 +669,7 @@ class PartitionWindow:
drive = [ get_partition_drive(part) ])
self.editPartitionRequest(request)
return
- elif part.fs_type and not part.fs_type.name:
+ elif (part.fs_type == None) or (part.fs_type and not part.fs_type.name):
ButtonChoiceWindow(self.screen, _("You cannot edit partitions "
"without a filesystem type."),
buttons = [ TEXT_OK_BUTTON ] )