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

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



Ack for all 4 patches.

Regards,

Hans


On 02/16/2010 02:19 AM, David Lehman wrote:
---
  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()



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