always import from ._compat

This commit is contained in:
Thomas Waldmann 2013-05-25 20:24:14 +02:00
parent 83f7658572
commit 96b8ffbb29
6 changed files with 6 additions and 6 deletions

View file

@ -24,7 +24,6 @@ from functools import update_wrapper
from werkzeug.datastructures import Headers
from werkzeug.exceptions import NotFound
from flask._compat import string_types, text_type
# this was moved in 0.7
try:
@ -37,6 +36,7 @@ from jinja2 import FileSystemLoader
from .signals import message_flashed
from .globals import session, _request_ctx_stack, _app_ctx_stack, \
current_app, request
from ._compat import string_types, text_type
# sentinel