[blivet:master 1/8] Make docstring more precise.

mulhern amulhern at redhat.com
Fri Jul 25 16:39:16 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/udev.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/blivet/udev.py b/blivet/udev.py
index 88f09ed..7e4f483 100644
--- a/blivet/udev.py
+++ b/blivet/udev.py
@@ -387,7 +387,9 @@ def device_get_md_level(info):
     return info.get("MD_LEVEL")
 
 def device_get_md_devices(info):
-    """ Returns the number of devices in this devices's array.
+    """ Returns the number of active devices in this devices's array.
+
+        Active devices are devices that are not spares or failed.
 
         :param dict info: dictionary of name-value pairs as strings
         :returns: the number of devices belonging to this device's md array
-- 
1.9.3



More information about the anaconda-patches mailing list