[Erp5-report] r18372 - /erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 18 00:54:40 CET 2007
Author: yo
Date: Tue Dec 18 00:54:39 2007
New Revision: 18372
URL: http://svn.erp5.org?rev=18372&view=rev
Log:
Unfortunately, this is faster.
Modified:
erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py
Modified: erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py?rev=18372&r1=18371&r2=18372&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py (original)
+++ erp5/trunk/products/ERP5Type/patches/CMFCoreSkinnable.py Tue Dec 18 00:54:39 2007
@@ -61,7 +61,7 @@
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
More information about the Erp5-report
mailing list