Permalink
Browse files

all unittests pass, the special and dependency lookups have their own…

… visitors now, with `self` one can get a reference to the current template and render blocks multiple times.

--HG--
branch : trunk
  • Loading branch information...
1 parent 32a910f commit c9705c245dcd3020575e9e948675be10b908720f @mitsuhiko mitsuhiko committed Apr 27, 2008
Showing with 295 additions and 233 deletions.
  1. +3 −1 examples/bench.py
  2. +169 −127 jinja2/compiler.py
  3. +26 −10 jinja2/environment.py
  4. +4 −2 jinja2/filters.py
  5. +1 −1 jinja2/nodes.py
  6. +38 −59 jinja2/optimizer.py
  7. +3 −0 jinja2/parser.py
  8. +38 −22 jinja2/runtime.py
  9. +9 −7 tests/test_filters.py
  10. +4 −4 tests/test_macros.py
View
@@ -295,7 +295,9 @@ def test_spitfire():
__doc__,
'-' * 80
)) + '\n')
-for test in 'jinja', 'tenjin', 'mako', 'spitfire', 'django', 'genshi', 'cheetah':
+
+
+for test in 'jinja', 'mako', 'tenjin', 'spitfire', 'django', 'genshi', 'cheetah':
if locals()['test_' + test] is None:
sys.stdout.write(' %-20s*not installed*\n' % test)
continue
Oops, something went wrong.

0 comments on commit c9705c2

Please sign in to comment.