diff -r 11df86fd2d67 -r 9f2967ba81ef pvl/rrd/api.py --- a/pvl/rrd/api.py Sun Jan 20 18:51:51 2013 +0200 +++ b/pvl/rrd/api.py Sun Jan 20 19:52:41 2013 +0200 @@ -45,7 +45,7 @@ return func(*(pre + opts + post)) -def graph (out=None, *args, **opts) : +def graph (out=None, *defs, **opts) : """ Render a graph image and/or print a report from data stored in one or several RRDs. @@ -80,7 +80,7 @@ log.debug("%s", out_path) # XXX: handle tempfile close? - width, height, out_lines = cmd(rrdtool.graph, (out_path, ), opts, args) + width, height, out_lines = cmd(rrdtool.graph, (out_path, ), opts, defs) if out_file is True : out_file = open(out_path)