changeset 260:0bf599bb643f

text_x_arnica: simplified substitution of parameter
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 10 Sep 2008 13:56:38 +0200
parents 9c712e3704e6
children 6ec6242fae3a
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Wed Sep 10 12:19:50 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Wed Sep 10 13:56:38 2008 +0200
@@ -539,9 +539,7 @@
             self.request.write(self.formatter.div(1))
             self.request.write(self.formatter.preformatted(1))
             for image in self.arnica_image.keys():
-                text = ' * [[%(image)s|alias]]\n' % {
-                           'image': image,
-                        }
+                text = ' * [[%s|alias]]\n' % image
                 self.request.write(self.formatter.text(text))
             self.request.write(self.formatter.preformatted(0))
             self.request.write(self.formatter.div(0))