[
https://issues.apache.org/jira/browse/AIRFLOW-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16872240#comment-16872240
]
ASF subversion and git services commented on AIRFLOW-4831:
----------------------------------------------------------
Commit 40982cfc89a2092ec1e4080b80f4a4be1da07051 in airflow's branch
refs/heads/v1-10-stable from haoliang7
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=40982cf ]
[AIRFLOW-4831] conf.has_option no longer throws if section is missing. (#5455)
(cherry picked from commit 05c1ba002a7bdf2d0867efaf5a0a41a0516d5e38)
> conf.has_option raises an error if the given section is missing instead of
> returning false
> ------------------------------------------------------------------------------------------
>
> Key: AIRFLOW-4831
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4831
> Project: Apache Airflow
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.10.3
> Reporter: Hao Liang
> Assignee: Hao Liang
> Priority: Minor
> Fix For: 1.10.4
>
>
> Currently, conf.has_option raises an error if the given section is missing. I
> think it should return false if either option or section is missing, which is
> also the behavior of ConfigParser.has_option.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)