XD-DENG opened a new pull request #5165: [AIRFLOW-4399] Avoid duplicated os.path.isfile() check in models.dagbag URL: https://github.com/apache/airflow/pull/5165 ### Jira - https://issues.apache.org/jira/browse/AIRFLOW-4399 ### Description The check which is removed in this commit always returns `True` for sure, because the same check has already been done earlier in this function body https://github.com/apache/airflow/blob/de1795c8f1e65a5f4a848e88ef3848ba51aab449/airflow/models/dagbag.py#L157-L158
---------------------------------------------------------------- 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] With regards, Apache Git Services
