Skip to content

Commit

Permalink
rstrip()
Browse files Browse the repository at this point in the history
  • Loading branch information
mrT23 committed Feb 9, 2024
1 parent 6837e43 commit 796e203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/tools/pr_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def process_pr_files_prediction(self, pr_body, value):
else:
pr_body += f"""<td><table>"""
for filename, file_changes_title, file_change_description in list_tuples:
filename = filename.replace("'", "`")
filename = filename.replace("'", "`").rstrip()
filename_publish = filename.split("/")[-1]
file_changes_title_br = insert_br_after_x_chars(file_changes_title, x=(delta - 5))
file_changes_title_extended = file_changes_title_br.strip() + "</code>"
Expand Down

0 comments on commit 796e203

Please sign in to comment.