Changeset 3627
- Timestamp:
- 05/06/08 17:53:08 (7 months ago)
- Files:
-
- tasklistplugin/trunk/tasklist/main.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tasklistplugin/trunk/tasklist/main.py
r3409 r3627 30 30 from trac.config import Option, ListOption 31 31 from trac.util import get_reporter_id 32 33 from pkg_resources import resource_filename 32 34 33 35 __all__ = ['TasklistPlugin', 'pprint'] … … 198 200 # ITemplateProvider methods 199 201 def get_templates_dirs(self): 200 from pkg_resources import resource_filename201 202 return [resource_filename(__name__, 'templates')] 202 203 203 204 def get_htdocs_dirs(self): 204 from pkg_resources import resource_filename205 205 return [('tasklist', resource_filename(__name__, 'htdocs'))] 206 206
