summaryrefslogtreecommitdiffstats
path: root/textw/partition_text.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-06-27 02:45:56 +0000
committerJeremy Katz <katzj@redhat.com>2001-06-27 02:45:56 +0000
commitc740db0575e73a0b3ff0dcd9be258edb08fd4e2a (patch)
treeb75d18b42cf08e8fe8e5a93f013d70311354c5bc /textw/partition_text.py
parent7042a5d384cca20fc00c53a46d50852b850233e8 (diff)
downloadanaconda-c740db0575e73a0b3ff0dcd9be258edb08fd4e2a.tar.gz
anaconda-c740db0575e73a0b3ff0dcd9be258edb08fd4e2a.tar.xz
anaconda-c740db0575e73a0b3ff0dcd9be258edb08fd4e2a.zip
sanity check
Diffstat (limited to 'textw/partition_text.py')
-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 94ecb7a49..5adb8fffe 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -64,7 +64,7 @@ class PartitionWindow:
elif part.get_flag(parted.PARTITION_RAID) == 1:
ptype = _("software RAID component")
elif part.fs_type:
- if request.fstype != None:
+ if request and request.fstype != None:
ptype = request.fstype.getName()
else:
ptype = part.fs_type.name