summaryrefslogtreecommitdiffstats
path: root/textw/partition_text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-08-07 19:42:30 +0000
committerChris Lumens <clumens@redhat.com>2007-08-07 19:42:30 +0000
commit1b43563ccd346c9a207e324e281ead6e3b9d014a (patch)
tree8309038f344a8e9a08fcc762b7f506cc2c20fd78 /textw/partition_text.py
parent608962cd6f1a9628f6a6e945aec5a2836594997d (diff)
downloadanaconda-1b43563ccd346c9a207e324e281ead6e3b9d014a.tar.gz
anaconda-1b43563ccd346c9a207e324e281ead6e3b9d014a.tar.xz
anaconda-1b43563ccd346c9a207e324e281ead6e3b9d014a.zip
Fix converting UI selections into which drives should be used for partitioning
(#247997, #251150).
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 761f05ecf..ef99143cd 100644
--- a/textw/partition_text.py
+++ b/textw/partition_text.py
@@ -1566,7 +1566,7 @@ class PartitionTypeWindow:
rc = g.run()
if len(self.drivelist.getSelection()) > 0:
- sel = [self.drivelist.getSelection()[0].split()[0]]
+ sel = map(lambda s: s.split()[0], self.drivelist.getSelection())
else:
sel = []
partmethod_ans = typebox.current()