changeset 2785:ff1886a5defa

EmbedObject:PEP8 fixes
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 29 Aug 2007 17:59:13 +0200
parents 02a8bde864ab
children a16ba90d1f7e
files MoinMoin/macro/EmbedObject.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/EmbedObject.py	Wed Aug 29 16:40:31 2007 +0200
+++ b/MoinMoin/macro/EmbedObject.py	Wed Aug 29 17:59:13 2007 +0200
@@ -1,5 +1,5 @@
 # -*- coding: iso-8859-1 -*-
-""" 
+"""
     MoinMoin - EmbedObject Macro
 
     This macro is used to embed an object into a wiki page. Optionally, the
@@ -11,7 +11,7 @@
     @copyright: 2006-2007 MoinMoin:ReimarBauer,
                 2006 TomSi,
                 2007 OliverSiemoneit
-                
+
     @license: GNU GPL, see COPYING for details.
 """
 
@@ -165,7 +165,7 @@
 <param name="autostart" value="%(autostart)s">
 <param name="play" value="%(play)s">
 <param name="loop" value="%(loop)s">
-<param name="menu" value="%(menu)s"> 
+<param name="menu" value="%(menu)s">
 <p>%(alt)s</p>
 </object>''' % {
     "width": self.width,
@@ -203,8 +203,8 @@
             mt = wikiutil.MimeType(filename=fname)
             mimestr = "%s/%s" % (mt.major, mt.minor, )
         else:
-             mt = wikiutil.MimeType(filename=self.guess_filename)
-             url = self.target
+            mt = wikiutil.MimeType(filename=self.guess_filename)
+            url = self.target
 
         # XXX Should better use formatter.embed if available?
         return self.macro.formatter.rawHTML(self.embed(mt, url))