diff data/plugin/parser/text_x_arnica.py @ 9:6fb3b03afe2e

text_x_arnica: added some comments
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 09 Mar 2008 18:31:21 +0100
parents b9eb24a6213a
children 87d11a4031e3
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sun Mar 09 18:07:13 2008 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Sun Mar 09 18:31:21 2008 +0100
@@ -472,7 +472,8 @@
     def select_files(self, formatter):
         """ select files """
         
-        # we need to take the page_name from the formatter.page otherwise include does not work
+        # we need to take the page_name from the formatter.page otherwise 
+        # include does not work
         self.pagename = formatter.page.page_name
         if self.target_page:
             self.pagename = self.target_page
@@ -596,6 +597,9 @@
             i = self.full.index(front_image)
 
         for image in self.full:
+            # if we leave that line here the user sees progress in creating webnails and thumbnails
+            # on a slow machine. Otherwise he does see until it is finished nothing and may
+            # believe it is broken.
             self.create_thumbnail_and_webnail(image, self.web[i], self.thumb[i], self.imgtype[i])
             
             if self.image_for_webnail == '1':