changeset 237:8b80d05224d3

arnica_slides: removed unused parameter pagename from option_list
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 02 Sep 2008 11:12:37 +0200
parents 0bf8fa325316
children bf11563af202
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Tue Sep 02 11:08:22 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Tue Sep 02 11:12:37 2008 +0200
@@ -214,7 +214,7 @@
     this_webnail_list = "".join(["%s|" % url for url in this_webnail_list])
 
     link_to_image = AttachFile.getAttachUrl(pagename, original_images[idx], request)
-    option_webnail = option_list(image_url, pagename, images, original_images, request)
+    option_webnail = option_list(image_url, images, original_images, request)
     inner_table_style = ' style="border-style:none; margin:10px;"'
 
     html = """
@@ -268,11 +268,10 @@
     }
     return html
 
-def option_list(this_image, pagename, filenames, original_images, request):
+def option_list(this_image, filenames, original_images, request):
     """ generates the pulldown option list
 
     @param this_image: selected image on top
-    @param pagename: pagename of attachments
     @param filenames: list of filenames
     @param original_images: list of original image attachment names (thumbnails and webnails are derived from it)
     @param request: request object