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-2244] bugfix: remove legacy LongText code from models.py
Date Mon, 26 Mar 2018 19:29:24 GMT
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) <johnar@microsoft.com>
Authored: Mon Mar 26 21:29:18 2018 +0200
Committer: Fokko Driesprong <fokkodriesprong@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
 


Mime
View raw message