Changeset 3562

Show
Ignore:
Timestamp:
04/26/08 15:19:02 (7 months ago)
Author:
pacopablo
Message:

Updated for most recent Genshi trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • siteuploadplugin/trunk/siteupload/admin.py

    r3181 r3562  
    11# -*- coding: utf-8 -*- 
    22# 
    3 # Copyright (C) 2006 John Hampton <pacopablo@asylumware.com> 
     3# Copyright (C) 2006 John Hampton <pacopablo@pacopablo.com> 
    44# All rights reserved. 
    55# 
     
    1111# individuals. For the exact contribution history, see the revision 
    1212# history and logs, available at: 
    13 # http://trac-hacks.org/wiki/TracBlogPlugin 
     13# http://trac-hacks.org/wiki/SiteUploadPlugin 
    1414# 
    15 # Author: John Hampton <pacopablo@asylumware.com> 
     15# Author: John Hampton <pacopablo@pacopablo.com> 
    1616 
    1717from trac.core import * 
     
    8080                fsize = os.stat(os.path.join(target_path, f))[stat.ST_SIZE] 
    8181                filelist.append({'name' : f, 
    82                                  'link' : Markup('<a href="%s">%s</a>', 
     82                                 'link' : Markup('<a href="%s">%s</a>') % ( 
    8383                                          self.env.href.chrome('site', f), f),  
    8484                                 'size' : pretty_size(fsize),})