You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fo...@apache.org on 2018/01/15 20:04:45 UTC
incubator-airflow git commit: [AIRFLOW-2004] Import flash from flask
not flask.login
Repository: incubator-airflow
Updated Branches:
refs/heads/master 1abe7f6d5 -> 7cf7cd7ca
[AIRFLOW-2004] Import flash from flask not flask.login
Closes #2943 from bolkedebruin/AIRFLOW-2004
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/7cf7cd7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/7cf7cd7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/7cf7cd7c
Branch: refs/heads/master
Commit: 7cf7cd7cae73c3e1e256a04bbd9588146a339f9b
Parents: 1abe7f6
Author: Bolke de Bruin <bo...@xs4all.nl>
Authored: Mon Jan 15 21:04:38 2018 +0100
Committer: Fokko Driesprong <fo...@godatadriven.com>
Committed: Mon Jan 15 21:04:38 2018 +0100
----------------------------------------------------------------------
airflow/www/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/7cf7cd7c/airflow/www/views.py
----------------------------------------------------------------------
diff --git a/airflow/www/views.py b/airflow/www/views.py
index 716e9fe..cc73c8b 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -46,7 +46,7 @@ from flask_admin.contrib.sqla import ModelView
from flask_admin.actions import action
from flask_admin.babel import lazy_gettext
from flask_admin.tools import iterdecode
-from flask_login import flash
+from flask import flash
from flask._compat import PY2
from jinja2.sandbox import ImmutableSandboxedEnvironment