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/03/26 19:29:24 UTC
incubator-airflow git commit: [AIRFLOW-2244] bugfix: remove legacy
LongText code from models.py
Repository: incubator-airflow
Updated Branches:
refs/heads/master 9b42fc9a1 -> 1d8ed0925
[AIRFLOW-2244] bugfix: remove legacy LongText code from models.py
Closes #3151 from johnarnold/settings_guard
Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/1d8ed092
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/1d8ed092
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/1d8ed092
Branch: refs/heads/master
Commit: 1d8ed0925a0f0d229f71a3ade0386644d4dcff57
Parents: 9b42fc9
Author: John Arnold (AZURE) <jo...@microsoft.com>
Authored: Mon Mar 26 21:29:18 2018 +0200
Committer: Fokko Driesprong <fo...@godatadriven.com>
Committed: Mon Mar 26 21:29:18 2018 +0200
----------------------------------------------------------------------
airflow/models.py | 5 -----
1 file changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/1d8ed092/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index 010a150..3b94ec4 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -116,11 +116,6 @@ def get_fernet():
raise AirflowException("Could not create Fernet object: {}".format(ve))
-if 'mysql' in settings.SQL_ALCHEMY_CONN:
- LongText = LONGTEXT
-else:
- LongText = Text
-
# Used by DAG context_managers
_CONTEXT_MANAGER_DAG = None