forked from orbit-oss/flask
Code cleanup
This commit is contained in:
parent
3a80ecc660
commit
fee5bdafe8
2 changed files with 1 additions and 3 deletions
|
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
from __future__ import with_statement
|
from __future__ import with_statement
|
||||||
|
|
||||||
import os
|
|
||||||
from threading import Lock
|
from threading import Lock
|
||||||
from datetime import timedelta, datetime
|
from datetime import timedelta, datetime
|
||||||
from itertools import chain
|
from itertools import chain
|
||||||
|
|
@ -20,7 +19,7 @@ from jinja2 import Environment
|
||||||
|
|
||||||
from werkzeug import ImmutableDict
|
from werkzeug import ImmutableDict
|
||||||
from werkzeug.routing import Map, Rule
|
from werkzeug.routing import Map, Rule
|
||||||
from werkzeug.exceptions import HTTPException, InternalServerError, NotFound
|
from werkzeug.exceptions import HTTPException, InternalServerError
|
||||||
|
|
||||||
from .helpers import _PackageBoundObject, url_for, get_flashed_messages, \
|
from .helpers import _PackageBoundObject, url_for, get_flashed_messages, \
|
||||||
_tojson_filter, _endpoint_from_view_func
|
_tojson_filter, _endpoint_from_view_func
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ import posixpath
|
||||||
import mimetypes
|
import mimetypes
|
||||||
from time import time
|
from time import time
|
||||||
from zlib import adler32
|
from zlib import adler32
|
||||||
from functools import wraps
|
|
||||||
|
|
||||||
# try to load the best simplejson implementation available. If JSON
|
# try to load the best simplejson implementation available. If JSON
|
||||||
# is not installed, we add a failing class.
|
# is not installed, we add a failing class.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue