Show More
@@ -51,7 +51,7 b' class RhodeCodeCacheRegion(CacheRegion):' | |||
|
51 | 51 | def get_or_create_for_user_func(key_generator, user_func, *arg, **kw): |
|
52 | 52 | |
|
53 | 53 | if not condition: |
|
54 | log.debug('Calling un-cached func:%s', user_func) | |
|
54 | log.debug('Calling un-cached func:%s', user_func.func_name) | |
|
55 | 55 | return user_func(*arg, **kw) |
|
56 | 56 | |
|
57 | 57 | key = key_generator(*arg, **kw) |
@@ -59,7 +59,7 b' class RhodeCodeCacheRegion(CacheRegion):' | |||
|
59 | 59 | timeout = expiration_time() if expiration_time_is_callable \ |
|
60 | 60 | else expiration_time |
|
61 | 61 | |
|
62 | log.debug('Calling cached fn:%s', user_func) | |
|
62 | log.debug('Calling cached fn:%s', user_func.func_name) | |
|
63 | 63 | return self.get_or_create(key, user_func, timeout, should_cache_fn, (arg, kw)) |
|
64 | 64 | |
|
65 | 65 | def cache_decorator(user_func): |
General Comments 0
You need to be logged in to leave comments.
Login now