def GetItemPaths(self):
- # Create a list of the item paths based on which
- # of the files in the target directory match at least
- # one of the item regular expressions.
+ """
+ Create a list of the item paths based on which
+ of the files in the target directory match at least
+ one of the item regular expressions.
+ """
target_dir = Configuration.GetAbsTargetDir()
item_paths = []
def GetItemData(self, item_paths):
- # Build the pictar markup
+ """ Build the pictar markup. """
item_data = ""
current_item_number = 0
def GetPageData(self, item_data):
- # Fill in the template with our markup
+ """ Fill in the template with our markup. """
stylesheet_file_name = Configuration.GetStyleSheetPath()
page_template = self.template_parser.GetPageTemplate()
page_data = page_template.substitute(stylesheet=stylesheet_file_name,