Commit 7d81b1b9 by Őry Máté

common: use less error-prone log parameter

parent 038d5248
...@@ -229,8 +229,8 @@ def compute_cached(method, instance, memcached_seconds, ...@@ -229,8 +229,8 @@ def compute_cached(method, instance, memcached_seconds,
except AttributeError: except AttributeError:
method = method.fget method = method.fget
except AttributeError: except AttributeError:
logger.exception("Couldnt get original method of %s.%s", logger.exception("Couldnt get original method of %s",
unicode(instance), method.__name__) unicode(method))
raise raise
# call the actual method # call the actual method
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment