X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fpictar.git;a=blobdiff_plain;f=Pictar.py;h=d889c1e0a3e6cf91dbaa09cf396a576ebffbca37;hp=67a056fb42a08dc5e0e4ab5df947208c4e68fea7;hb=HEAD;hpb=1ca405414e722bb9f6b9364041a6fe557da091d0 diff --git a/Pictar.py b/Pictar.py index 67a056f..d889c1e 100644 --- a/Pictar.py +++ b/Pictar.py @@ -31,9 +31,11 @@ class Pictar: 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 = [] @@ -52,7 +54,7 @@ class Pictar: def GetItemData(self, item_paths): - # Build the pictar markup + """ Build the pictar markup. """ item_data = "" current_item_number = 0 @@ -76,7 +78,7 @@ class Pictar: 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,