[rhel6-branch 2/2] Fix the list-harddrives test script (#706099)

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

 



---
 command-stubs/list-harddrives-test |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/command-stubs/list-harddrives-test b/command-stubs/list-harddrives-test
index 1ab81cc..c7eb27a 100644
--- a/command-stubs/list-harddrives-test
+++ b/command-stubs/list-harddrives-test
@@ -38,9 +38,9 @@ def list_harddrives_test():
             continue
 
         if dev.path.startswith('/dev/'):
-            devices.add(dev.path[5:], dev.getSize())
+            devices.add("%s %s" % (dev.path[5:], dev.getSize()))
         else:
-            devices.add(dev.path, dev.getSize())
+            devices.add("%s %s" % (dev.path, dev.getSize()))
 
     devices = sorted(devices)
 
-- 
1.7.3.2

_______________________________________________
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