Permalink
Browse files

kls.__name__ is more correct here since we use kls.__name__

--HG--
branch : trunk
  • Loading branch information...
1 parent 8402234 commit ce0f04fac714439dd86f9fd86ab344c1178268c2 @pjenvey pjenvey committed Feb 11, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 pylons/decorators/cache.py
@@ -141,7 +141,7 @@ def create_cache_key(func, key_dict=None, self=None):
kls = getattr(self, '__class__', None)
if kls:
- return '%s.%s' % (func.__module__, kls.__name__), cache_key
+ return '%s.%s' % (kls.__module__, kls.__name__), cache_key
else:
return func.__module__, cache_key

0 comments on commit ce0f04f

Please sign in to comment.