forked from orbit-oss/flask
Removed a bunch of code from _compat
This commit is contained in:
parent
c629f69e69
commit
0190b770a1
3 changed files with 8 additions and 43 deletions
|
|
@ -18,9 +18,12 @@ from time import time
|
|||
from zlib import adler32
|
||||
from threading import RLock
|
||||
from werkzeug.routing import BuildError
|
||||
from werkzeug.urls import url_quote
|
||||
from functools import update_wrapper
|
||||
|
||||
try:
|
||||
from werkzeug.urls import url_quote
|
||||
except ImportError:
|
||||
from urlparse import quote as url_quote
|
||||
|
||||
from werkzeug.datastructures import Headers
|
||||
from werkzeug.exceptions import NotFound
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue