always import from ._compat
This commit is contained in:
parent
83f7658572
commit
96b8ffbb29
6 changed files with 6 additions and 6 deletions
|
|
@ -34,7 +34,7 @@ from .templating import DispatchingJinjaLoader, Environment, \
|
|||
_default_template_ctx_processor
|
||||
from .signals import request_started, request_finished, got_request_exception, \
|
||||
request_tearing_down, appcontext_tearing_down
|
||||
from flask._compat import reraise, string_types, integer_types
|
||||
from ._compat import reraise, string_types, integer_types
|
||||
|
||||
# a lock used for logger initialization
|
||||
_logger_lock = Lock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue