TopCoder2K opened a new pull request, #62409:
URL: https://github.com/apache/airflow/pull/62409

   
[This](https://github.com/apache/airflow/blob/f2d4eef16cc43d68908fd67c6632d8b97d4c3e63/providers/smtp/src/airflow/providers/smtp/hooks/smtp.py#L121)
 loop inside the `SmtpHook.get_conn()` method isn't entered when 
`self.smtp_retry_limit == 0`. It seems enough just to set the `range()` to 
start at `0` (since `self.smtp_retry_limit` is a number of **re**tries = 
repeated tries after the first try).
   
   * closes: https://github.com/apache/airflow/issues/49920
   
   P.S.
   I wasn't able to run the checks due to 
https://github.com/apache/airflow/issues/62408.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [ ] No


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to