summaryrefslogtreecommitdiffstats
path: root/partRequests.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-05-29 00:17:35 +0000
committerJeremy Katz <katzj@redhat.com>2002-05-29 00:17:35 +0000
commit19d12f2a88652027c5d5c6367e6b267ec5991b20 (patch)
treef49b18e17ad19f3291c6dec5a017ba492611dae5 /partRequests.py
parent4977522f5aa71748a8b12a58cde71b3bd6194d5a (diff)
downloadanaconda-19d12f2a88652027c5d5c6367e6b267ec5991b20.tar.gz
anaconda-19d12f2a88652027c5d5c6367e6b267ec5991b20.tar.xz
anaconda-19d12f2a88652027c5d5c6367e6b267ec5991b20.zip
need to actually set fstype to the vg fstype if it wasn't passed in to us explicitly
Diffstat (limited to 'partRequests.py')
-rw-r--r--partRequests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/partRequests.py b/partRequests.py
index 322a22cbd..1a8bd8854 100644
--- a/partRequests.py
+++ b/partRequests.py
@@ -111,7 +111,7 @@ class RequestSpec:
# pin down our partitions so that we can reread the table
device.solidify()
-
+
if self.fstype.getName() == "swap":
mountpoint = "swap"
else:
@@ -540,7 +540,7 @@ class VolumeGroupRequestSpec(RequestSpec):
"""
if not fstype:
- fsset.fileSystemTypeGet("volume group (LVM)")
+ fstype = fsset.fileSystemTypeGet("volume group (LVM)")
RequestSpec.__init__(self, fstype = fstype, format = format)
self.type = REQUEST_VG