Change in vdsm[master]: supervdsm: fix trigger docstring

mpolednik at redhat.com mpolednik at redhat.com
Wed Sep 9 12:25:16 UTC 2015


Martin Polednik has uploaded a new change for review.

Change subject: supervdsm: fix trigger docstring
......................................................................

supervdsm: fix trigger docstring

Change-Id: Ief9af5dd73fc38b366fb4903b313bc420e2a4172
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
---
M lib/vdsm/udevadm.py
1 file changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/45939/1

diff --git a/lib/vdsm/udevadm.py b/lib/vdsm/udevadm.py
index 35970fe..88c19ee 100644
--- a/lib/vdsm/udevadm.py
+++ b/lib/vdsm/udevadm.py
@@ -67,29 +67,29 @@
 
     Arguments:
 
-    attr_matches        List of 2-tuples that contain attribute name and
-                        it's value. These are expanded like this:
+    attr_matches        An iterable of attribute name, value pairs.
+                        These are expanded like this:
 
                         [('a', 'b'), ('c', 'd')] ~>
                         --attr-match=a=b --attr-match=c=d
 
-                        and causes only events from devices that match
+                        and cause only events from devices that match
                         given attributes to be triggered.
 
-    property_matches    Similar to attr_matches. Expects list of 2-tuples
+    property_matches    Similar to attr_matches. Expects an iterable of pairs
                         that expand in similar fashion, that is
 
                         [('a', 'b'), ('c', 'd')] ~>
                         --property-match=a=b --property-match=c=d
 
-                        and causes only events from devices that match
+                        and cause only events from devices that match
                         given property to be triggered.
 
     subsystem_matches   Expects an iterable of subsystems.
 
                         ('a', 'b') ~> --subsystem-match=a --subsystem-match=b
 
-                        Causes only events related to specified subsystem to
+                        Cause only events related to specified subsystem to
                         be triggered.
     '''
     _run_command(['control', '--reload'])


-- 
To view, visit https://gerrit.ovirt.org/45939
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief9af5dd73fc38b366fb4903b313bc420e2a4172
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>


More information about the vdsm-patches mailing list