python-Jinja2 move to core

This commit is contained in:
IdrisKalp
2019-12-10 19:31:42 +03:00
parent f60fa2697e
commit cc55f789bc
4 changed files with 144 additions and 0 deletions
@@ -0,0 +1,15 @@
Description: drop next import from docs/jinjaext.py
next is not available in jinja2/utils.py and all Python versions supported by
Jessie already support this function, no need for backwards compatible wrapper
Author: Piotr Ożarowski <piotr@debian.org>
--- jinja2-2.7.orig/docs/jinjaext.py
+++ jinja2-2.7/docs/jinjaext.py
@@ -23,7 +23,7 @@ from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
Number, Operator, Generic
from jinja2 import Environment, FileSystemLoader
-from jinja2.utils import next
+#from jinja2.utils import next
def parse_rst(state, content_offset, doc):