We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61ff23 commit fc25c17Copy full SHA for fc25c17
1 file changed
lib/tools/patching.py
@@ -375,9 +375,11 @@
375
parent.rewrite_patch_file(patches)
376
FAILED_PATCHES = [one_patch for one_patch in VALID_PATCHES if (not one_patch.applied_ok) or (one_patch.rewritten_patch is None)]
377
for failed_patch in FAILED_PATCHES:
378
- log.info(
379
- f"Consider removing {failed_patch.parent.full_file_path()}(:{failed_patch.counter}); "
380
- f"it was not applied successfully.")
+ log.warning(
+ f"Removing {failed_patch.parent.full_file_path()}(:{failed_patch.counter}); "
+ f" it failed to apply/was not rewritten.")
381
+ os.remove(failed_patch.parent.full_file_path())
382
+
383
384
# Create markdown about the patches
385
readme_markdown: "str | None" = None
0 commit comments