Run `./2to3.py -w jinja2`
[jinja2.git] / jinja2-debug.py
index 1e9024284c3f297e34c586e5c4a4834cf840ef27..80bbc628a050ee9f77cafa1fc4d140452c169d79 100755 (executable)
@@ -6,14 +6,18 @@
 
     Helper script for internal Jinja2 debugging.  Requires Werkzeug.
 
-    :copyright: Copyright 2008 by Armin Ronacher.
+    :copyright: Copyright 2010 by Armin Ronacher.
     :license: BSD.
 """
 import sys
 import jinja2
 from werkzeug import script
 
-env = jinja2.Environment()
+env = jinja2.Environment(extensions=['jinja2.ext.i18n', 'jinja2.ext.do',
+                                     'jinja2.ext.loopcontrols',
+                                     'jinja2.ext.with_',
+                                     'jinja2.ext.autoescape'],
+                         autoescape=True)
 
 def shell_init_func():
     def _compile(x):