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:40:26 UTC
incubator-airflow git commit: [AIRFLOW-307] There is no __neq__
python magic method.
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....@eleks.com>
Authored: Wed Jul 6 10:40:02 2016 +0200
Committer: Bolke de Bruin <bo...@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):