From 5d0d103bbeb67a68dc74314e48c067a5cea232d3 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Sun, 30 Jul 2023 18:31:51 -0700 Subject: [PATCH] put reason for checking for old files in error msg --- src/openpower/decoder/pseudo/pywriter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/pseudo/pywriter.py b/src/openpower/decoder/pseudo/pywriter.py index 5b678bc5..6d436eef 100644 --- a/src/openpower/decoder/pseudo/pywriter.py +++ b/src/openpower/decoder/pseudo/pywriter.py @@ -79,7 +79,8 @@ class PyISAWriter(ISA): lines = [ f"found likely old generated file: {first_old_fname!r}", f"new location: {first_fname!r}", - "please remove the old generated files or add to:", + ("please remove the old generated files to avoid committing " + "them or add to:"), ("openpower.decoder.pseudo.pywriter." "OLD_GENERATED_FILES_EXCEPTIONS"), "commands to remove all likely old generated files:", -- 2.30.2