changeset 276:e3c509f99aad

text_x_arnica: white space PEP8 fix, removed old comments
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 16 Sep 2008 11:55:05 +0200
parents 2a92ddf8a7c8
children 0430039fe8c5
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Tue Sep 16 11:48:52 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Tue Sep 16 11:55:05 2008 +0200
@@ -36,7 +36,7 @@
                     webnail_width=640):
     """ dummy function to initialize all default parameters for arnica. The parameters are checked for wrong input.
     @param target_page: page to read attachments from. empty pagename is current page.
-    @param columns: number of columns for thumbnails, default is 4. 0 means no linebreak 
+    @param columns: number of columns for thumbnails, default is 4. 0 means no linebreak
     @param file_regex: regex for selecting images
     @param image_for_webnail if set then the image is shown instead of the webnail
     @param show_text: default shows description
@@ -305,7 +305,7 @@
             if img.description != attfile:
                 image_alias[attfile] = (formatter.text(img.description), counter)
                 counter += 1
-        
+
         if self.only_items:
             # get the same order of files and aliastext as on the page written
             files = image_alias.keys()
@@ -395,8 +395,6 @@
 "%(album_image)s" because it does not exist or it is not listed
 in your item list!""") % {"album_image": album_image, })
             else:
-                #self.create_thumbnail_and_webnail_image(image, self.web_key[i], self.thumb_key[i], self.imgtype[i])
-                #self.webnail_image = self.web_key
                 html = self.html_arrange_thumbnails(album_image, selected_images)
 
             result.append(''.join(html))
@@ -406,10 +404,10 @@
                 result.append(''.join(html))
                 if col_count == self.columns and self.columns != 0:
                     col_count = 0
-                    result.append('<br style=clear:both>') 
+                    result.append('<br style=clear:both>')
                 col_count += 1
-        
-        return ''.join(result) 
+
+        return ''.join(result)
 
 
     def format(self, formatter):