[PATCH 3/6] Log only the disks' names in PartitionDevice._setDisk.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/devices.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index eee43e2..ad13da9 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()
 
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux