Commit d0c4124d authored by Yoshinori Okuji's avatar Yoshinori Okuji

Unfortunately, this is faster.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5461c95f
......@@ -61,7 +61,7 @@ def CMFCoreSkinnableSkinnableObjectManager___getattr__(self, name):
up to the root skins folder.
This should be fast, flexible, and predictable.
'''
if not name.startswith('_') and not name.startswith('aq_'):
if name[:1] != '_' and name[:3] != 'aq_':
skin_info = SKINDATA.get(get_ident())
if skin_info is not None:
skin_selection_name, ignore, resolve = skin_info
......
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