diff MoinMoin/util/forms.py @ 2589:ee404f81afe9

fix new pep8 errors generated after pep8 is upgraded to 1.5.1
author RogerHaase <haaserd@gmail.com>
date Wed, 02 Apr 2014 14:55:54 -0700
parents eca842df2ec4
children
line wrap: on
line diff
--- a/MoinMoin/util/forms.py	Tue Apr 01 08:13:20 2014 -0700
+++ b/MoinMoin/util/forms.py	Wed Apr 02 14:55:54 2014 -0700
@@ -28,7 +28,7 @@
         return contents
     if tagname == 'input':
         if ('value' not in attributes and
-            attributes.get('type') in ['submit', 'reset', ]):
+                attributes.get('type') in ['submit', 'reset', ]):
             attributes['value'] = _(bind.default_value)
     elif tagname == 'button' and not contents:
         contents = _(bind.default_value)