[PATCH 2/5] Use Device.__str__ when logging return value of getDeviceByFoo.

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

 



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

diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py
index f11ea21..1e25dd1 100644
--- a/pyanaconda/storage/devicetree.py
+++ b/pyanaconda/storage/devicetree.py
@@ -1959,7 +1959,7 @@ class DeviceTree(object):
                 found = device
                 break
 
-        log_method_return(self, found)
+        log_method_return(self, str(found))
         return found
 
     def getDeviceByPath(self, path):
@@ -1978,7 +1978,7 @@ class DeviceTree(object):
                 found = device
                 break
 
-        log_method_return(self, found)
+        log_method_return(self, str(found))
         return found
 
     def getDevicesByType(self, device_type):
-- 
1.7.8

_______________________________________________
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