airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-2209] restore flask_login imports
Date Tue, 10 Apr 2018 07:05:28 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 3beb9bcb5 -> e2aeebea3


[AIRFLOW-2209] restore flask_login imports

ignore unused import with flake8

Closes #3124 from berislavlopac/AIRFLOW-2209


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/e2aeebea
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/e2aeebea
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/e2aeebea

Branch: refs/heads/master
Commit: e2aeebea3869b7970b610ab58afe24131b557860
Parents: 3beb9bc
Author: Unknown <berislav@lopac.net>
Authored: Tue Apr 10 09:04:39 2018 +0200
Committer: Fokko Driesprong <fokkodriesprong@godatadriven.com>
Committed: Tue Apr 10 09:04:39 2018 +0200

----------------------------------------------------------------------
 airflow/contrib/auth/backends/password_auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/e2aeebea/airflow/contrib/auth/backends/password_auth.py
----------------------------------------------------------------------
diff --git a/airflow/contrib/auth/backends/password_auth.py b/airflow/contrib/auth/backends/password_auth.py
index cfb921c..1e3b5e1 100644
--- a/airflow/contrib/auth/backends/password_auth.py
+++ b/airflow/contrib/auth/backends/password_auth.py
@@ -18,7 +18,7 @@ from sys import version_info
 
 import base64
 import flask_login
-from flask_login import current_user
+from flask_login import login_required, current_user, logout_user  # noqa: F401
 from flask import flash, Response
 from wtforms import Form, PasswordField, StringField
 from wtforms.validators import InputRequired


Mime
View raw message