summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2010-02-15 14:22:34 -0600
committerDavid Lehman <dlehman@redhat.com>2010-02-16 09:20:58 -0600
commit96cf6a17fbc0ad637b92ba05ea853434f5bc7e1b (patch)
treec36377b83f0da46b5ee5355a526dc05bc6017914 /storage
parent79d7fc33732181bc56a453a796b9d1c9254c96f2 (diff)
downloadanaconda-96cf6a17fbc0ad637b92ba05ea853434f5bc7e1b.tar.gz
anaconda-96cf6a17fbc0ad637b92ba05ea853434f5bc7e1b.tar.xz
anaconda-96cf6a17fbc0ad637b92ba05ea853434f5bc7e1b.zip
Log only the disks' names in PartitionDevice._setDisk.
Diffstat (limited to 'storage')
-rw-r--r--storage/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devices.py b/storage/devices.py
index eee43e204..ad13da9fa 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1403,7 +1403,7 @@ class PartitionDevice(StorageDevice):
Setting up a disk is not trivial. It has the potential to change
the underlying object. If necessary we must also change this object.
"""
- log_method_call(self, self.name, old=self.disk, new=disk)
+ log_method_call(self, self.name, old=self.disk.name, new=disk.name)
if self.disk:
self.disk.removeChild()