1. Andriy Kornatskyy
  2. wheezy.html

Commits

Andriy Kornatskyy  committed 5e8df1f

Fixed PEP8 warning.

  • Participants
  • Parent commits 3acfc9d
  • Branches default

Comments (0)

Files changed (1)

File src/wheezy/html/ext/jinja2.py

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