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_r382927101
 
 

 ##########
 File path: airflow/jobs/scheduler_job.py
 ##########
 @@ -1607,16 +1615,14 @@ def _execute_helper(self):
 
             loop_end_time = time.time()
             loop_duration = loop_end_time - loop_start_time
-            self.log.debug(
-                "Ran scheduling loop in %.2f seconds",
-                loop_duration)
+            self.log.debug("Ran scheduling loop in %.2f seconds", 
loop_duration)
 
             if not is_unit_test:
                 time.sleep(self._processor_poll_interval)
 
             if self.processor_agent.done:
-                self.log.info("Exiting scheduler loop as all files"
-                              " have been processed {} 
times".format(self.num_runs))
+                self.log.info("Exiting scheduler loop as all files have been 
processed %s times",
 
 Review comment:
   ```suggestion
                   self.log.info("Exiting scheduler loop as all files have been 
processed %d times",
   ```

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