summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-06-08 16:37:53 -0400
committerChris Lumens <clumens@redhat.com>2009-06-08 16:37:53 -0400
commit9b53a3e529e46f0573f2fe750491f521cf099d18 (patch)
treea5541b0abf5c7b7f9e68f0f2bc4c490dc7a32936 /kickstart.py
parent34ed3c31021d7139de8f0e84215a46769abdb992 (diff)
downloadanaconda-9b53a3e529e46f0573f2fe750491f521cf099d18.tar.gz
anaconda-9b53a3e529e46f0573f2fe750491f521cf099d18.tar.xz
anaconda-9b53a3e529e46f0573f2fe750491f521cf099d18.zip
Fix an obvious traceback when doing part --ondisk= (#504687).
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py
index 099253a0f..ce9985525 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -646,7 +646,7 @@ class Partition(commands.partition.F11_Partition):
if pd.disk:
disk = devicetree.getDeviceByName(pd.disk)
if not disk:
- pd.disk = "mapper/" % pd.disk
+ pd.disk = "mapper/%s" % pd.disk
disk = devicetree.getDeviceByName(pd.disk)
if not disk: