[PATCH 3/3] DiskDevice.__init__ expects an "exists" parameter, so add it.

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

 



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

diff --git a/storage/devices.py b/storage/devices.py
index 1598497..62bebd0 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -728,7 +728,8 @@ class DiskDevice(StorageDevice):
 
     def __init__(self, device, format=None,
                  size=None, major=None, minor=None, sysfsPath='',
-                 parents=None, serial=None, vendor="", bus=""):
+                 parents=None, serial=None, vendor="", bus="",
+                 exists=True):
         """ Create a DiskDevice instance.
 
             Arguments:
@@ -752,7 +753,7 @@ class DiskDevice(StorageDevice):
             DiskDevices always exist.
         """
         StorageDevice.__init__(self, device, format=format, size=size,
-                               major=major, minor=minor, exists=True,
+                               major=major, minor=minor, exists=exists,
                                sysfsPath=sysfsPath, parents=parents,
                                serial=serial, vendor=vendor, bus=bus)
 
-- 
1.6.5.1

_______________________________________________
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