Changeset 1443 in products for quintagroup.portlet.cumulus/trunk/quintagroup/portlet/cumulus
- Timestamp:
- Dec 7, 2009 2:10:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.portlet.cumulus/trunk/quintagroup/portlet/cumulus/blog.py
r1039 r1443 20 20 tags = [] 21 21 for topic in topics: 22 tags.append((topic.getTitle().decode(self.default_charset), len(topic), topic.absolute_url())) 22 title = topic.getTitle() 23 # Before this issue http://plone.org/products/quills/issues/209 in 24 # Quills was fixed, topic title was not a unicode string 25 if not isinstance(title, unicode): 26 title = title.decode(self.default_charset) 27 tags.append((title, len(topic), topic.absolute_url())) 23 28 24 29 return tags
Note: See TracChangeset
for help on using the changeset viewer.