summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-05-12 16:33:21 +0000
committerJeremy Katz <katzj@redhat.com>2003-05-12 16:33:21 +0000
commitd0c45a14e00f566d643d2a0fcfb8730308ad975d (patch)
tree1d866d6be869f44abdf1717b8aa8749a1fb229c2
parent716b9b97a0ee320054ad9a574bae114549dbf94c (diff)
downloadanaconda-d0c45a14e00f566d643d2a0fcfb8730308ad975d.tar.gz
anaconda-d0c45a14e00f566d643d2a0fcfb8730308ad975d.tar.xz
anaconda-d0c45a14e00f566d643d2a0fcfb8730308ad975d.zip
don't set ptype to foreign if we're a freespace or extended, only if we're a
"normal" partition (#90686)
-rw-r--r--partitions.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/partitions.py b/partitions.py
index 25d44dc63..c3271c4b5 100644
--- a/partitions.py
+++ b/partitions.py
@@ -110,11 +110,11 @@ class Partitions:
# XXX this is a hack
format = 1
- # FIXME: we don't handle ptype being None very well, so
- # just say it's foreign. Should probably fix None handling
- # instead some day.
- if ptype is None:
- ptype = fsset.fileSystemTypeGet("foreign")
+ # FIXME: we don't handle ptype being None very well, so
+ # just say it's foreign. Should probably fix None handling
+ # instead some day.
+ if ptype is None:
+ ptype = fsset.fileSystemTypeGet("foreign")
start = part.geom.start
end = part.geom.end