Mercurial > p > roundup > code
comparison roundup/cgi/engine_jinja2.py @ 8562:9c3ec0a5c7fc
chore: remove __future print_funcion from code.
Not needed as of Python 3.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 08 Apr 2026 21:39:40 -0400 |
| parents | b8e63e65d9a8 |
| children |
comparison
equal
deleted
inserted
replaced
| 8561:395c258636ad | 8562:9c3ec0a5c7fc |
|---|---|
| 27 | 27 |
| 28 [ ] add {{ debug() }} dumper to inspect available variables | 28 [ ] add {{ debug() }} dumper to inspect available variables |
| 29 https://github.com/mitsuhiko/jinja2/issues/174 | 29 https://github.com/mitsuhiko/jinja2/issues/174 |
| 30 """ | 30 """ |
| 31 | 31 |
| 32 from __future__ import print_function | |
| 33 import jinja2 | 32 import jinja2 |
| 34 import mimetypes | 33 import mimetypes |
| 35 import sys | 34 import sys |
| 36 | 35 |
| 37 # http://jinja.pocoo.org/docs/api/#loaders | 36 # http://jinja.pocoo.org/docs/api/#loaders |
