changeset 41:edc8b8c5ccdd

PEP8 whitespace fix
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 02 Jun 2008 19:02:58 +0200
parents c208aceb1ebd
children 7bf792c8364b
files data/plugin/action/arnica_slides.py data/plugin/parser/text_x_arnica.py
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Mon Jun 02 18:51:22 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Mon Jun 02 19:02:58 2008 +0200
@@ -89,7 +89,6 @@
    for (i = 0; i <  n-1; i++){
        theImages[i] = new Image();
        theImages[i].src = value[i];
-       
    }
 }
 
@@ -204,7 +203,7 @@
     option_webnail = option_list(url + images[idx], pagename, images, request, image_for_webnail)
     inner_table_style = ' style="border-style:none; margin:10px;"'
     this_webnail_list = "".join(["%s%s|" % (url, name) for name in images])
-    
+
     html = '''
 <form name=slideform method="POST">
    <input type="hidden" name="flag" value="webnail">
@@ -350,7 +349,7 @@
         attachment_path = AttachFile.getAttachDir(request, pagename)
         command = request.form.get('do', ['none'])[0]
         target = request.form.get('target', [''])[0]
- 
+
         # View Slides
         if command == 'VS':
             web = {}
@@ -498,3 +497,4 @@
         return
 
     return arnica_slides(request, pagename).render()
+
--- a/data/plugin/parser/text_x_arnica.py	Mon Jun 02 18:51:22 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Mon Jun 02 19:02:58 2008 +0200
@@ -566,7 +566,7 @@
             msg = _('The parser %(parser)s needs python imaging library (PIL) installed' % {'parser': parser_name})
             self.request.write(msg)
             return
-    
+
         path = AttachFile.getAttachDir(self.request, self.pagename, create=1)
         imagef = os.path.join(path, image)