uranusjr commented on code in PR #33808:
URL: https://github.com/apache/airflow/pull/33808#discussion_r1306993471


##########
airflow/dag_processing/manager.py:
##########
@@ -865,7 +868,7 @@ def _log_file_processing_stats(self, known_file_paths):
             rows.append((file_path, processor_pid, runtime, num_dags, 
num_errors, last_runtime, last_run))
 
         # Sort by longest last runtime. (Can't sort None values in python3)
-        rows.sort(key=lambda x: x[3] or 0.0)
+        rows = sorted(rows, key=lambda x: x[3] or 0.0)

Review Comment:
   This sort changes should probably be in a separate PR.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to