airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [airflow] potiuk commented on a change in pull request #6601: [AIRFLOW-6010] Remove cyclic imports and pylint disables
Date Wed, 20 Nov 2019 15:46:32 GMT
potiuk commented on a change in pull request #6601: [AIRFLOW-6010] Remove cyclic imports and
pylint disables
URL: https://github.com/apache/airflow/pull/6601#discussion_r348558504
 
 

 ##########
 File path: airflow/models/baseoperator.py
 ##########
 @@ -381,7 +378,7 @@ def __init__(
             self.retry_delay = retry_delay
         else:
             self.log.debug("Retry_delay isn't timedelta object, assuming secs")
-            self.retry_delay = timedelta(seconds=retry_delay)
+            self.retry_delay = timedelta(seconds=retry_delay.seconds)
 
 Review comment:
   I will take a look!

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message