potiuk commented on a change in pull request #7484: [AIRFLOW-6864][depends on 
6863] Make airflow/jobs pylint compatible
URL: https://github.com/apache/airflow/pull/7484#discussion_r382963240
 
 

 ##########
 File path: airflow/jobs/scheduler_job.py
 ##########
 @@ -1162,8 +1170,8 @@ def _find_executable_task_instances(self, 
simple_dag_bag, states, session=None):
                     pool
                 )
                 continue
-            else:
-                open_slots = pools[pool].open_slots(session=session)
+
+            open_slots = pools[pool].open_slots(session=session)
 
 Review comment:
   same here @kaxil -> no else needed as we have continue.

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

Reply via email to