[PATCH 6/6] Remove commented out broken code from LoopDevice.status.

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

 



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

diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index ad07842..8306d9e 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -3625,9 +3625,6 @@ class LoopDevice(StorageDevice):
 
     @property
     def status(self):
-        #return (self.sysfsPath and
-        #        os.path.isdir("/sys" + self.sysfsPath) and
-        #        len(os.listdir("/sys" + self.sysfsPath + '/holders')) > 0)
         return (self.slave.status and
                 self.name.startswith("loop") and
                 loop.get_loop_name(self.slave.path) == self.name)
-- 
1.7.2.3

_______________________________________________
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