Changeset 2437

Show
Ignore:
Timestamp:
07/09/07 21:15:43 (1 year ago)
Author:
Bombenbodo
Message:

TracSvnAuthzPlugin:

bugfix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tracsvnauthzplugin/0.10/setup.py

    r2436 r2437  
    1717  packages=['svnauthz'], 
    1818  entry_points={'trac.plugins': '%s = svnauthz' % PACKAGE}, 
    19   package_data={'svnauthz': ['htdocs/css/*.css', 'templates/*.cs']}, 
     19  package_data={'svnauthz': ['templates/*.cs']}, 
    2020) 
    2121                   
  • tracsvnauthzplugin/0.10/svnauthz/svnauthz.py

    r2436 r2437  
    11from trac.core import * 
    2 from trac.web.chrome import ITemplateProvider, add_stylesheet 
     2from trac.web.chrome import ITemplateProvider 
    33from webadmin.web_ui import IAdminPageProvider 
    44import os 
    5 import string 
    65 
    76class SVNAuthzPlugin(Component): 
     
    4443        req.hdf['svnauthz.current'] = current 
    4544 
    46         add_stylesheet(req, 'svnauthz/css/svnauthz.css') 
    4745        return 'svnauthz.cs', None 
    4846 
     
    5351        return [resource_filename(__name__, 'templates')] 
    5452 
    55  
    5653    def get_htdocs_dirs(self): 
    57         from pkg_resources import resource_filename 
    58         return [('svnauthz', resource_filename(__name__, 'htdocs'))] 
     54        return []