diff options
author | Chris Lumens <clumens@redhat.com> | 2009-02-06 16:43:24 -0500 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-02-12 11:31:01 -1000 |
commit | 033f973c70a2afe528caa8863823cbccbfc88172 (patch) | |
tree | 6142505d0cfec3cb6cd7d007785adbfc9a2fd511 /partRequests.py | |
parent | 78069ada041b7c34a7c3a826687426e350a533c6 (diff) | |
download | anaconda-033f973c70a2afe528caa8863823cbccbfc88172.tar.gz anaconda-033f973c70a2afe528caa8863823cbccbfc88172.tar.xz anaconda-033f973c70a2afe528caa8863823cbccbfc88172.zip |
getPartitionByPath expects the device to start with /dev/.
Diffstat (limited to 'partRequests.py')
-rw-r--r-- | partRequests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partRequests.py b/partRequests.py index d8de5e679..e9b86c993 100644 --- a/partRequests.py +++ b/partRequests.py @@ -520,7 +520,7 @@ class PartitionSpec(RequestSpec): size = 0 for drive in self.drive: - part = diskset.disks[drive].getPartitionByPath(self.device) + part = diskset.disks[drive].getPartitionByPath("/dev/%s" % self.device) if not part: # XXX kickstart might still call this before allocating the partitions |