Code

backport documentation fix
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 2 Apr 2010 22:50:43 +0000 (22:50 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 2 Apr 2010 22:50:43 +0000 (22:50 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@2065 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/doc/rrdpython.pod

index f041b0b59b0eed011bb592a1c6d48f3de0cf9879..c8d49f099e8754677035b7bdcd18150cd9239775 100644 (file)
@@ -40,7 +40,7 @@ to the other B<rrdtool> documentation for functions and valid arguments.
 
  info = rrdtool.info('downloads.rrd')
  print info['last_update']
- print info['ds']['downloads']['minimal_heartbeat']
+ print info['ds[downloads].minimal_heartbeat']
 
 If you use the B<site-python-install> make target you can drop to first sys.path.append
 line since the rrdtool module will be available everywhere.