python-Jinja2 move to core
This commit is contained in:
Executable
+15
@@ -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):
|
||||
Reference in New Issue
Block a user