Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
7cad2c67
Commit
7cad2c67
authored
Dec 24, 2013
by
Hilton Bristow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed relative imports in Jinja for python3
parent
2f45942a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
__init__.py
3rdparty/jinja2/markupsafe/__init__.py
+2
-2
_native.py
3rdparty/jinja2/markupsafe/_native.py
+1
-1
utils.py
3rdparty/jinja2/utils.py
+1
-1
No files found.
3rdparty/jinja2/markupsafe/__init__.py
View file @
7cad2c67
...
...
@@ -9,7 +9,7 @@
:license: BSD, see LICENSE for more details.
"""
import
re
from
_compat
import
text_type
,
string_types
,
int_types
,
\
from
.
_compat
import
text_type
,
string_types
,
int_types
,
\
unichr
,
PY2
...
...
@@ -227,7 +227,7 @@ class _MarkupEscapeHelper(object):
try
:
from
_speedups
import
escape
,
escape_silent
,
soft_unicode
except
ImportError
:
from
_native
import
escape
,
escape_silent
,
soft_unicode
from
.
_native
import
escape
,
escape_silent
,
soft_unicode
if
not
PY2
:
soft_str
=
soft_unicode
...
...
3rdparty/jinja2/markupsafe/_native.py
View file @
7cad2c67
...
...
@@ -8,7 +8,7 @@
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
from
_compat
import
text_type
from
.
_compat
import
text_type
def
escape
(
s
):
...
...
3rdparty/jinja2/utils.py
View file @
7cad2c67
...
...
@@ -517,4 +517,4 @@ class Joiner(object):
# Imported here because that's where it was in the past
from
markupsafe
import
Markup
,
escape
,
soft_unicode
from
.
markupsafe
import
Markup
,
escape
,
soft_unicode
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment