Ignore:
Timestamp:
Dec 7, 2009 12:33:35 PM (14 years ago)
Author:
koval
Message:

fixed ticket #116

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.portlet.cumulus/brunches/wald/quintagroup/portlet/cumulus/blog.py

    r1039 r1441  
    2020        tags = [] 
    2121        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())) 
    2328 
    2429        return tags 
Note: See TracChangeset for help on using the changeset viewer.