ashb 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_r382927081
##########
File path: airflow/jobs/scheduler_job.py
##########
@@ -1584,12 +1593,11 @@ def _execute_helper(self):
self.processor_agent.heartbeat()
# For the sqlite case w/ 1 thread, wait until the processor
# is finished to avoid concurrent access to the DB.
- self.log.debug(
- "Waiting for processors to finish since we're using
sqlite")
+ self.log.debug("Waiting for processors to finish since we're
using sqlite")
self.processor_agent.wait_until_finished()
simple_dags = self._get_simple_dags()
- self.log.debug("Harvested {} SimpleDAGs".format(len(simple_dags)))
+ self.log.debug("Harvested %s SimpleDAGs", len(simple_dags))
Review comment:
```suggestion
self.log.debug("Harvested %d SimpleDAGs", len(simple_dags))
```
----------------------------------------------------------------
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