summaryrefslogtreecommitdiffstats
path: root/autopart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-08-02 20:10:22 +0000
committerMike Fulbright <msf@redhat.com>2001-08-02 20:10:22 +0000
commitdf5d8302be1a53834e27eee83518302fc96d417a (patch)
tree69b76cff5153f739b780eec57b4956d7a43285bf /autopart.py
parentdc72be13fbf51a54f16bdf08282f64988db91e8b (diff)
downloadanaconda-df5d8302be1a53834e27eee83518302fc96d417a.tar.gz
anaconda-df5d8302be1a53834e27eee83518302fc96d417a.tar.xz
anaconda-df5d8302be1a53834e27eee83518302fc96d417a.zip
fix formatting of warning screen
Diffstat (limited to 'autopart.py')
-rw-r--r--autopart.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/autopart.py b/autopart.py
index 2b5530b72..d1bf2a85c 100644
--- a/autopart.py
+++ b/autopart.py
@@ -917,18 +917,18 @@ def queryAutoPartitionOK(intf, diskset, partitions):
else:
raise ValueError, "Invalid clear part type in doClearPartAction"
- drvstr = "\n\n "
+ drvstr = "\n\n"
if drives == None:
drives = diskset.disks.keys()
drives.sort()
i = 0
for drive in drives:
- drvstr = drvstr + " /dev/%s" % (drive)
- i = i + 1
- if i > 2:
- drvstr = drvstr + "\n "
- i = 0
+ drvstr = drvstr + "%-10s" % ("/dev/"+drive)
+# i = i + 1
+# if i > 3:
+# drvstr = drvstr + "\n "
+# i = 0
drvstr = drvstr +"\n"