X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fgraph.py;h=d6c290e40f0c0fc68ae8f71152a4a8aedd053308;hb=cd33ae05e818e0b6161ef4c1a9eb368cae6db5f4;hp=b900b3eab7fd8eb66ba780922e9927d74b176a47;hpb=9152869466e7ae25114b38040f90ecbf5d91fe89;p=dak.git diff --git a/dak/graph.py b/dak/graph.py index b900b3ea..d6c290e4 100755 --- a/dak/graph.py +++ b/dak/graph.py @@ -98,7 +98,7 @@ GPRINT:avgds0:avg\\: %%.0lf\\j rrd_args += extra_args try: ret = rrdtool.graph(*rrd_args) - except rrdtool.error as e: + except rrdtool.error, e: print('warning: graph: rrdtool error, skipping %s-%s.png: %s' % (name, graph, e)) ################################################################################