You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2016/07/06 08:36:28 UTC

incubator-airflow git commit: [AIRFLOW-307] Rename __neq__ to __ne__ python magic method.

Repository: incubator-airflow
Updated Branches:
  refs/heads/master 8b9ead747 -> 7f653dea5


[AIRFLOW-307] Rename __neq__ to __ne__ python magic method.

Closes #1649 from oza/AIRFLOW-307


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

Branch: refs/heads/master
Commit: 7f653dea5b112680434c8372da20ef7ec9d02c97
Parents: 8b9ead7
Author: Tsuyoshi Ozawa <oz...@apache.org>
Authored: Wed Jul 6 10:35:45 2016 +0200
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Wed Jul 6 10:35:48 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/7f653dea/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index 7e8ae50..33bef8f 100644
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -1903,7 +1903,7 @@ class BaseOperator(object):
             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):