Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
flask-admin
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Python-Dev
flask-admin
Commits
f9377094
Commit
f9377094
authored
Oct 12, 2018
by
kongminhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update _compat.py
add quote
parent
95d4d102
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
_compat.py
flask_admin/_compat.py
+2
-1
No files found.
flask_admin/_compat.py
View file @
f9377094
...
...
@@ -38,7 +38,7 @@ if not PY2:
# Various tools
from
functools
import
reduce
from
urllib.parse
import
urljoin
,
urlparse
from
urllib.parse
import
urljoin
,
urlparse
,
quote
else
:
text_type
=
unicode
string_types
=
(
str
,
unicode
)
...
...
@@ -62,6 +62,7 @@ else:
# Helpers
reduce
=
__builtins__
[
'reduce'
]
if
isinstance
(
__builtins__
,
dict
)
else
__builtins__
.
reduce
from
urlparse
import
urljoin
,
urlparse
from
urllib
import
quote
def
with_metaclass
(
meta
,
*
bases
):
...
...
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