Show
Ignore:
Timestamp:
04/12/07 17:38:04 (15 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

rupy slides, starting up

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pycommunity/pycommunity/resttask.py

    r68 r78  
    3131class TaskView(object): 
    3232    """generates a base view""" 
    33     def __init__(self, templatefile, restfile, glossaryfile): 
     33    def __init__(self, templatefile, restfile, glossaryfile, tutorial_folders, 
     34                 recipe_folders): 
    3435        title, content = rest2Web(restfile) 
    35         content = linkChecker(content, glossaryfile) 
     36        content = linkChecker(content, glossaryfile, tutorial_folders, 
     37                              recipe_folders) 
    3638        self.title = title 
    3739        self._template = Template(open(templatefile).read(), 
     
    98100                    # generating the view 
    99101                    view = TaskView(self._getTemplateFile(configuration), 
    100                                     restfile, configuration.glossary) 
     102                                    restfile, configuration.glossary, 
     103                                    configuration.tutorials, 
     104                                    configuration.recipes) 
    101105                    title, result = view() 
    102106                    titles.append(title)