houqp commented on a change in pull request #10917:
URL: https://github.com/apache/airflow/pull/10917#discussion_r511693266



##########
File path: airflow/models/dag.py
##########
@@ -561,7 +561,7 @@ def next_dagrun_after_date(self, 
date_last_automated_dagrun: Optional[pendulum.D
         next_run_date = None
         if not date_last_automated_dagrun:
             # First run
-            task_start_dates = [t.start_date for t in self.tasks]
+            task_start_dates = [t.start_date for t in self.tasks if 
t.start_date]

Review comment:
       drive by bug fix for lint error, t.start_date could be None




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


Reply via email to