]> gitweb.michael.orlitzky.com - dead/pictar.git/blobdiff - TemplateParser.py
Updated XmlDataParser to use the Python 2.5 ElementTree interface.
[dead/pictar.git] / TemplateParser.py
index fcf044cd22ae0a32d7a5854834d302cd66772e61..12da1d38a11342ddd87a8274c4fd04ec57148553 100644 (file)
@@ -5,12 +5,10 @@ from string import Template
 class TemplateParser:
 
     def GetPageTemplate(self):
-        # Read the page template file into a string
+        """ Read the page template file into a string. """
         page_template_path = Configuration.GetPageTemplatePath()
         page_template_file = open(page_template_path, "r")
         page_template = Template(page_template_file.read())
         page_template_file.close()
 
         return page_template
-
-