Make log_error actually return a value.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 1 Feb 2009 17:58:06 +0000 (18:58 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 1 Feb 2009 17:58:06 +0000 (18:58 +0100)
commit4bd2ee34c818b499888d3f0bb52ffbf1eb58580b
treea9c6e245e612c27f9f02bcc0b180c48ec68ca966
parenteb845e4ffb2eb95d9f2e4375f921fa52e10e0fb7
Make log_error actually return a value.

When no error occured, log_error would not pass on the actual value
produced by the decorated function.
tools/misc.py