Update pr_agent/tools/pr_description.py

Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
This commit is contained in:
Tal
2025-07-18 09:20:41 +03:00
committed by GitHub
parent 8906a81a2e
commit 7cc4206b70

View File

@ -644,6 +644,7 @@ class PRDescription:
if not changes_summary: if not changes_summary:
get_logger().warning(f"Empty changes summary in file label dict, skipping file", get_logger().warning(f"Empty changes summary in file label dict, skipping file",
artifact={"file": file}) artifact={"file": file})
continue
changes_summary = changes_summary.strip() changes_summary = changes_summary.strip()
changes_title = file['changes_title'].strip() changes_title = file['changes_title'].strip()
label = file.get('label').strip().lower() label = file.get('label').strip().lower()