Commit 19ff9e52 authored by Jérome Perrin's avatar Jérome Perrin

CodingStyle: fix transactional cache

`self` argument should not be a cache key, otherwise we have one cache
per skin
parent 7cab5673
...@@ -38,7 +38,7 @@ def getLegacyCallableIdItemList(self): ...@@ -38,7 +38,7 @@ def getLegacyCallableIdItemList(self):
) )
@transactional_cached() @transactional_cached(key_method=lambda *args, **kw: None)
def getSkinPrefixList(self): def getSkinPrefixList(self):
"""Return the list of acceptable prefixes for skins. """Return the list of acceptable prefixes for skins.
""" """
......
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 to comment