summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2014-04-14 12:06:20 +0200
committerMichal Minar <miminar@redhat.com>2014-04-14 13:16:00 +0200
commit213ee882be23066b240549779bd01cb7222851bf (patch)
treea430163ad13ab357f40c19e454cd637565ce2822
parent8f91c6731265fc66d176bbfda170875c4347d823 (diff)
downloadopenlmi-scripts-213ee882be23066b240549779bd01cb7222851bf.tar.gz
openlmi-scripts-213ee882be23066b240549779bd01cb7222851bf.tar.xz
openlmi-scripts-213ee882be23066b240549779bd01cb7222851bf.zip
doc: minor documentation fixes
-rw-r--r--doc/script-development.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/script-development.rst b/doc/script-development.rst
index 040895f..a4ec801 100644
--- a/doc/script-development.rst
+++ b/doc/script-development.rst
@@ -375,15 +375,15 @@ One requirement is evaluated in these steps:
3. Return ``True``.
Now let's take a look, where these requirements can be specified.
-There is special select command used to specify which command to load
-for particular version on remote broker. It's defined like this: ::
+There is a special select command used to specify which command to load
+for particular version on remote broker. It can be written like this: ::
from lmi.scripts.common.command import LmiSelectCommand
class SoftwareCMD(LmiSelectCommand):
SELECT = [
- ( 'OpenLMI-Software >= 0.4.2' & 'OpenLMI-LogicalFile'
+ ( 'OpenLMI-Software >= 0.4.2 & OpenLMI-LogicalFile'
, 'lmi.scripts.software.current.SwLFCmd')
, ( 'OpenLMI-Software >= 0.4.2'
, 'lmi.scripts.software.current.SwCmd')
@@ -403,7 +403,7 @@ better: ::
from lmi.scripts.common.command import select_command
SoftwareCMD = select_command('SoftwareCMD',
- ( 'OpenLMI-Software >= 0.4.2' & 'OpenLMI-LogicalFile'
+ ( 'OpenLMI-Software >= 0.4.2 & OpenLMI-LogicalFile'
, 'lmi.scripts.software.current.SwLFCmd'),
( 'OpenLMI-Software >= 0.4.2', 'lmi.scripts.software.current.SwCmd'),
('OpenLMI-Software', 'lmi.scripts.software.pre042.SwCmd')