Changeset 78:b5dabe9762d1 for pycommunity/pycommunity/resttask.py
- Timestamp:
- 04/12/07 17:38:04 (15 months ago)
- Files:
-
- 1 modified
-
pycommunity/pycommunity/resttask.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pycommunity/pycommunity/resttask.py
r68 r78 31 31 class TaskView(object): 32 32 """generates a base view""" 33 def __init__(self, templatefile, restfile, glossaryfile): 33 def __init__(self, templatefile, restfile, glossaryfile, tutorial_folders, 34 recipe_folders): 34 35 title, content = rest2Web(restfile) 35 content = linkChecker(content, glossaryfile) 36 content = linkChecker(content, glossaryfile, tutorial_folders, 37 recipe_folders) 36 38 self.title = title 37 39 self._template = Template(open(templatefile).read(), … … 98 100 # generating the view 99 101 view = TaskView(self._getTemplateFile(configuration), 100 restfile, configuration.glossary) 102 restfile, configuration.glossary, 103 configuration.tutorials, 104 configuration.recipes) 101 105 title, result = view() 102 106 titles.append(title)
