[ 
https://issues.apache.org/jira/browse/AIRFLOW-6918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

t oo updated AIRFLOW-6918:
--------------------------
    Description: Trivial code tidy-up - 'is' usually is used for testing 
booleans or None presence. This change ensures STATE values are tested with == 
/ != instead of 'is'

> don't use 'is' in if conditions comparing STATE
> -----------------------------------------------
>
>                 Key: AIRFLOW-6918
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6918
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: scheduler
>    Affects Versions: 1.10.9
>            Reporter: t oo
>            Assignee: t oo
>            Priority: Trivial
>
> Trivial code tidy-up - 'is' usually is used for testing booleans or None 
> presence. This change ensures STATE values are tested with == / != instead of 
> 'is'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to