Commits

Andriy Kornatskyy committed 3acfc9d

Fixed PEP8 warnings.

Comments (0)

Files changed (2)

src/wheezy/html/ext/jinja2.py

         for attr in attrs:
             self.__dict__[attr] = c[attr].replace(
                 '{{', variable_start_string).replace(
-                    '}}', variable_end_string)
+                '}}', variable_end_string)
 
     EXPRESSION = '{{ %(expr)s%(expr_filter)s }}'
 

src/wheezy/html/ext/tests/test_lexer.py

         self.p.EXPRESSION = '%(expr)s%(expr_filter)s'
         assert ' autocomplete="off" disabled="${disabled}" ' \
             'maxlength="100"' == self.p.join_attrs({
-            'autocomplete': 'off',
-            'maxlength': '100',
-            'disabled': '${disabled}'})
+                'autocomplete': 'off',
+                'maxlength': '100',
+                'disabled': '${disabled}'})
 
     def test_error_class_no_class(self):
         """ Substitute ``name`` in case ``class_`` is undefined.