diff options
author | Chris Lumens <clumens@redhat.com> | 2010-03-12 17:59:26 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-03-12 18:00:16 -0500 |
commit | a24fa700f7b87a9e2f8ec4c0850a63aa862aa8a2 (patch) | |
tree | 775ab6c2fe85a77f9b46837ea3760154f75be27d /kickstart.py | |
parent | d47144e5b78d39770cb068c298dbff4da2612b1b (diff) | |
download | anaconda-a24fa700f7b87a9e2f8ec4c0850a63aa862aa8a2.tar.gz anaconda-a24fa700f7b87a9e2f8ec4c0850a63aa862aa8a2.tar.xz anaconda-a24fa700f7b87a9e2f8ec4c0850a63aa862aa8a2.zip |
Use the disk name from kickstart in the shouldClear error message.
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kickstart.py b/kickstart.py index 9803e3ae3..57fce8750 100644 --- a/kickstart.py +++ b/kickstart.py @@ -704,7 +704,7 @@ class PartitionData(commands.partition.F12_PartData): for n in names: disk = devicetree.getDeviceByName(udev_resolve_devspec(n)) if not disk: - raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified nonexistent disk %s in partition command" % disk) + raise KickstartValueError, formatErrorMsg(self.lineno, msg="Specified nonexistent disk %s in partition command" % n) should_clear = shouldClear(disk, storage.clearPartType, |