diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2018-05-17 15:06:56 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2018-05-17 15:09:23 +0800 |
commit | db6ff2c939748179c68d8662d0e67349d4427eeb (patch) | |
tree | 5c0671367d09672a235d978af818b6a978f2fdd6 /compass-deck/db/api | |
parent | 2b37a39287912d20ef86ec43e8f731d5b427fb29 (diff) |
Replace deprecated usages of Flask
JIRA: COMPASS-598
Old usage like "from flask.ext.script import Manager"
should be replaced by "from flask_script import Manager"
as Flask is upgraded from 0.12.2 to 1.0.2. Fix all
deprecated usage among compass containers.
Change-Id: If03b73a01d7dfc33a505a9fa2c893c6993feaeb2
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'compass-deck/db/api')
-rw-r--r-- | compass-deck/db/api/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compass-deck/db/api/user.py b/compass-deck/db/api/user.py index db039eb..0105797 100644 --- a/compass-deck/db/api/user.py +++ b/compass-deck/db/api/user.py @@ -18,7 +18,7 @@ import functools import logging import re -from flask.ext.login import UserMixin +from flask_login import UserMixin from compass.db.api import database from compass.db.api import utils |