Changeset 2925

Show
Ignore:
Timestamp:
12/19/07 09:33:43 (1 year ago)
Author:
osimons
Message:

FullBlogPlugin: Fixing a unicode / encoding problem for tags provider - the variables gets passed in as lists of strings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fullblogplugin/0.11/tracfullblog/tags.py

    r2922 r2925  
    2626        db = self.env.get_db_cnx() 
    2727        cursor = db.cursor() 
    28         tags = set(tags) 
    29         names = set(names) 
    30         self.env.log.debug(repr(names)+repr(tags)) 
     28        tags = set([to_unicode(tag) for tag in tags]) 
     29        names = set([to_unicode(name) for name in names]) 
    3130        args = [] 
    3231        sql = "SELECT name, categories FROM fullblog_posts "