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

ASF GitHub Bot commented on AIRFLOW-4831:
-----------------------------------------

ashb commented on pull request #5455: [AIRFLOW-4831] conf.has_option returns 
false if the given section is missing
URL: https://github.com/apache/airflow/pull/5455
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>
> 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)

Reply via email to