Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit d8ec54f

Browse files
committed
core: sorted imports
1 parent 7b66dea commit d8ec54f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

flask_security/core.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@
1616
import pkg_resources
1717
from flask import current_app, render_template
1818
from flask_babelex import Domain
19+
from flask_login import AnonymousUserMixin, LoginManager
1920
from flask_login import UserMixin as BaseUserMixin
20-
from flask_login import AnonymousUserMixin, LoginManager, current_user
21+
from flask_login import current_user
2122
from flask_principal import Identity, Principal, RoleNeed, UserNeed, \
2223
identity_loaded
2324
from itsdangerous import URLSafeTimedSerializer
@@ -28,9 +29,10 @@
2829
from .forms import ChangePasswordForm, ConfirmRegisterForm, \
2930
ForgotPasswordForm, LoginForm, PasswordlessLoginForm, RegisterForm, \
3031
ResetPasswordForm, SendConfirmationForm
32+
from .utils import _
3133
from .utils import config_value as cv
32-
from .utils import _, get_config, hash_data, localize_callback, string_types, \
33-
url_for_security, verify_hash, send_mail, verify_and_update_password
34+
from .utils import get_config, hash_data, localize_callback, send_mail, \
35+
string_types, url_for_security, verify_and_update_password, verify_hash
3436
from .views import create_blueprint
3537

3638
# Convenient references

0 commit comments

Comments
 (0)