airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-307] There is no __neq__ python magic method.
Date Wed, 06 Jul 2016 08:40:26 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 72ce0be96 -> 9b920678b


[AIRFLOW-307] There is no __neq__ python magic method.

Closes #1645 from TheSAS/patch-1


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

Branch: refs/heads/master
Commit: 9b920678bfe96174726f76168308a02767ff8edb
Parents: 72ce0be
Author: Oleksandr Vilchynskyy <o.vilchynskyy@eleks.com>
Authored: Wed Jul 6 10:40:02 2016 +0200
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Wed Jul 6 10:40:05 2016 +0200

----------------------------------------------------------------------
 airflow/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/9b920678/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index 33bef8f..e514e9c 100644
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -2559,7 +2559,7 @@ class DAG(LoggingMixin):
             all(self.__dict__.get(c, None) == other.__dict__.get(c, None)
                 for c in self._comps))
 
-    def __neq__(self, other):
+    def __ne__(self, other):
         return not self == other
 
     def __lt__(self, other):


Mime
View raw message