Changeset 3555 in products for quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/utils.py
- Timestamp:
- Sep 14, 2012 9:59:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/utils.py
r1572 r3555 1 1 """Somme utility functions for common use""" 2 2 from Products.CMFCore.utils import getToolByName 3 3 4 4 5 def getStylesVocabulary(context): … … 13 14 value_list = [] 14 15 for line in dropdown_list: 15 values = filter(lambda x: x.strip(), line.split('|', 1))16 values = filter(lambda x: x.strip(), line.split('|', 1)) 16 17 if len(values) == 0: 17 18 continue
Note: See TracChangeset
for help on using the changeset viewer.