Fixed wrong example in oldb-tools article authored by Marcus Schilling's avatar Marcus Schilling
...@@ -21,7 +21,7 @@ yum -y update elt-ciisrv-postinstall ...@@ -21,7 +21,7 @@ yum -y update elt-ciisrv-postinstall
On DevEnv 3.5 inside ESO, and DevEnv 3.6+, there is nothing to do. On DevEnv 3.5 inside ESO, and DevEnv 3.6+, there is nothing to do.
**Postinstall* **Postinstall**
Afterwards, execute this command (as root): Afterwards, execute this command (as root):
``` ```
...@@ -569,18 +569,18 @@ Type "help", "copyright", "credits" or "license" for more information. ...@@ -569,18 +569,18 @@ Type "help", "copyright", "credits" or "license" for more information.
>>> oldb.create_data_point_by_value (Uri("cii.oldb:/ccs/tst/tmp1"), "my text") >>> oldb.create_data_point_by_value (Uri("cii.oldb:/ccs/tst/tmp1"), "my text")
``` ```
… and, to delete a datapoint: … and, to read a datapoint:
``` ```
>>> elt.oldb.CiiOldbGlobal.set_write_enabled(True) >>> oldb.get_data_point(Uri("cii.oldb:/ccs/tst/tmp1")).read_value().get_value()
>>> oldb.create_data_point_by_value (Uri("cii.oldb:/ccs/tst/tmp1"), "my text") 'my text'
``` ```
… and, to read a datapoint: … and, to delete a datapoint:
``` ```
>>> oldb.get_data_point(Uri("cii.oldb:/ccs/tst/tmp1")).read_value().get_value() >>> elt.oldb.CiiOldbGlobal.set_write_enabled(True)
'my text' >>> oldb.delete_data_point (Uri("cii.oldb:/ccs/tst/tmp1"), "my text")
``` ```
... ...
......