airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-307) Code cleanup. There is no __neq__ python magic method.
Date Wed, 06 Jul 2016 08:37:11 GMT

    [ https://issues.apache.org/jira/browse/AIRFLOW-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15363977#comment-15363977
] 

ASF subversion and git services commented on AIRFLOW-307:
---------------------------------------------------------

Commit 7f653dea5b112680434c8372da20ef7ec9d02c97 in incubator-airflow's branch refs/heads/master
from [~ozawa]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=7f653de ]

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

Closes #1649 from oza/AIRFLOW-307


> Code cleanup. There is no __neq__ python magic method.
> ------------------------------------------------------
>
>                 Key: AIRFLOW-307
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-307
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: operators
>    Affects Versions: Airflow 1.8, Airflow 1.7.1, Airflow 1.7.1.3
>            Reporter: Oleksandr Vilchynskyy
>            Assignee: Oleksandr Vilchynskyy
>            Priority: Minor
>
> There is small mistype in  class BaseOperator(object)  which is decorated with functools.total_ordering:
> def __neq__    was used instead of __ne__, which breaks logic of later objects comparison.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message