X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdpython.pod;h=ba21f1608ddf0ee3c112aed211b87b4a85da6203;hb=3790ee46225952fe7410343ecc4b9702cf70e421;hp=b6f90756a944c7ea2834d6cb04907a8637350ba1;hpb=ae63d5e69f892d180ee0ce5f3e424b4b4f79cbd8;p=rrdtool.git diff --git a/doc/rrdpython.pod b/doc/rrdpython.pod index b6f9075..ba21f16 100644 --- a/doc/rrdpython.pod +++ b/doc/rrdpython.pod @@ -42,7 +42,7 @@ Please refer to the other B documentation for functions and valid argum info = rrdtool.info('downloads.rrd') print info['last_update'] - print info['ds']['downloads']['minimal_heartbeat'] + print info['ds[downloads].minimal_heartbeat'] =head2 Example 2 @@ -62,9 +62,9 @@ Please refer to the other B documentation for functions and valid argum 'RRA:AVERAGE:0.5:6:10' ) If you use the B make target you can drop to first sys.path.append -line since the rrdtool module will be available everywhere. +line since the RRDtool module will be available everywhere. -If rrdtool runs into trouble, it will throw an exception which you might want to catch. +If RRDtool runs into trouble, it will throw an exception which you might want to catch. =head1 SEE ALSO