summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-08-20 19:47:05 +0000
committerMatt Wilson <msw@redhat.com>1999-08-20 19:47:05 +0000
commit065857d54579ab7111882fac8dbffce29b5e2e04 (patch)
tree5bdada610259536eda107b823011adacf03d56f5 /text.py
parentcab368d967b4d6487d9483fe0b29d624c136eef0 (diff)
downloadanaconda-065857d54579ab7111882fac8dbffce29b5e2e04.tar.gz
anaconda-065857d54579ab7111882fac8dbffce29b5e2e04.tar.xz
anaconda-065857d54579ab7111882fac8dbffce29b5e2e04.zip
fix for swap format
Diffstat (limited to 'text.py')
-rw-r--r--text.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/text.py b/text.py
index bdd2a49d7..24e827b2d 100644
--- a/text.py
+++ b/text.py
@@ -432,7 +432,8 @@ class FormatWindow:
for mount in todo.mounts.keys ():
(dev, fstype, format) = todo.mounts[mount]
- todo.mounts[mount] = (dev, fstype, 0)
+ if fstype == "ext2":
+ todo.mounts[mount] = (dev, fstype, 0)
for mount in ct.getSelection():
(dev, fstype, format) = todo.mounts[mount]