From 9210af58fa8e2bd712c67e303ccf76b3e41d8a71 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 16 Aug 2018 16:03:31 +0000 Subject: [PATCH] Added more hint information when patch actions in ietf/checks.py fails. - Legacy-Id: 15438 --- ietf/checks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ietf/checks.py b/ietf/checks.py index 963b37f16..ae8e3b611 100644 --- a/ietf/checks.py +++ b/ietf/checks.py @@ -370,7 +370,9 @@ def maybe_patch_library(app_configs, **kwargs): if not patch_set.apply(root=library_path): errors.append(checks.Warning( "Could not apply patch from file '%s'"%patch_file, - hint="Make sure that the patch file contains a unified diff and has valid file paths", + hint=("Make sure that the patch file contains a unified diff and has valid file paths\n\n" + "\tPatch root: %s\n" + "\tTarget files: %s\n") % (library_path, ', '.join(i.target for i in patch_set.items)), id="datatracker.W0002", )) else: