Signed-off-by: Joerg Jaspert <joerg@debian.org>
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))
################################################################################
try:
rc = rrdtool.create(*create)
ru = rrdtool.update(*update)
- except rrdtool.error as e:
+ except rrdtool.error, e:
print('warning: queue_report: rrdtool error, skipping %s.rrd: %s' % (type, e))
except NameError:
pass