changeset 256:4c017ac39d06

text_x_arnica: fixed indenting of dict definitions
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 10 Sep 2008 11:14:57 +0200
parents 3c6496586d40
children f8dad7956a30
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 29 insertions(+), 29 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Wed Sep 10 11:13:08 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Wed Sep 10 11:14:57 2008 +0200
@@ -225,20 +225,20 @@
 </form>
 %(html_tools_restricted)s
 """ % {
-            "url": Page(self.request, self.pagename).url(self.request),
-            "pagename": self.pagename,
-            "htdocs": self.request.cfg.url_prefix_static,
-            "tablestyle": self.inner_table_style,
-            "style": self.td_style,
-            "thumbnail_width": self.thumbnail_width,
-            "description": packLine([self.arnica_image[image][4]] + [self.arnica_image[img][3] for img in selected_images]),
-            "exif_date": packLine([self.arnica_image[image][3]] + [self.arnica_image[img][3] for img in selected_images]),
-            "target": self.arnica_image[image][0],
-            "original_images": packLine([image] + selected_images),
-            "images": packLine([self.arnica_image[image][0]] + [self.arnica_image[img][0] for img in selected_images]),
-            "original_images": packLine([image] + selected_images),
-            "this_target": image,
-            "html_tools_restricted": self.html_tools_restricted(image),
+        "url": Page(self.request, self.pagename).url(self.request),
+        "pagename": self.pagename,
+        "htdocs": self.request.cfg.url_prefix_static,
+        "tablestyle": self.inner_table_style,
+        "style": self.td_style,
+        "thumbnail_width": self.thumbnail_width,
+        "description": packLine([self.arnica_image[image][4]] + [self.arnica_image[img][3] for img in selected_images]),
+        "exif_date": packLine([self.arnica_image[image][3]] + [self.arnica_image[img][3] for img in selected_images]),
+        "target": self.arnica_image[image][0],
+        "original_images": packLine([image] + selected_images),
+        "images": packLine([self.arnica_image[image][0]] + [self.arnica_image[img][0] for img in selected_images]),
+        "original_images": packLine([image] + selected_images),
+        "this_target": image,
+        "html_tools_restricted": self.html_tools_restricted(image),
         }
         return html
 
@@ -306,21 +306,21 @@
     %(html_tools)s
 </div>
 """ % {
-            "title": title,
-            "tdstyle": self.td_style,
-            "style": self.inner_table_style,
-            "url": Page(self.request, self.pagename).url(self.request),
-            "pagename": self.pagename,
-            "description": packLine([self.arnica_image[image][4]] + [self.arnica_image[img][4] for img in selected_images]),
-            "exif_date": packLine([self.arnica_image[image][3]] + [self.arnica_image[img][3] for img in selected_images]),
-            "target": self.arnica_image[image][0],
-            "original_images": packLine([image] + selected_images),
-            "images": packLine([self.arnica_image[image][0]] + [self.arnica_image[img][0] for img in selected_images]),
-            "thumbnail": cache.url(self.request, self.arnica_image[image][1]),
-            "thumbnail_width": self.thumbnail_width,
-            "html_tools": self.html_show_tools(image),
-            "date_html": self.html_show_date(image),
-            "alias_html": self.html_show_alias(image),
+        "title": title,
+        "tdstyle": self.td_style,
+        "style": self.inner_table_style,
+        "url": Page(self.request, self.pagename).url(self.request),
+        "pagename": self.pagename,
+        "description": packLine([self.arnica_image[image][4]] + [self.arnica_image[img][4] for img in selected_images]),
+        "exif_date": packLine([self.arnica_image[image][3]] + [self.arnica_image[img][3] for img in selected_images]),
+        "target": self.arnica_image[image][0],
+        "original_images": packLine([image] + selected_images),
+        "images": packLine([self.arnica_image[image][0]] + [self.arnica_image[img][0] for img in selected_images]),
+        "thumbnail": cache.url(self.request, self.arnica_image[image][1]),
+        "thumbnail_width": self.thumbnail_width,
+        "html_tools": self.html_show_tools(image),
+        "date_html": self.html_show_date(image),
+        "alias_html": self.html_show_alias(image),
         }
         return html