From 25e2abdb033f1029bb6a841cb1d45958313907f3 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sun, 23 May 2021 11:45:14 +0200 Subject: [PATCH] Improve transformer explain wording --- PFERD/transformer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PFERD/transformer.py b/PFERD/transformer.py index 9670d0e..5a20207 100644 --- a/PFERD/transformer.py +++ b/PFERD/transformer.py @@ -328,10 +328,10 @@ class Transformer: result = rule.transform(path) if isinstance(result, PurePath): - log.explain(f"Match! Transformed to {fmt_path(result)}") + log.explain(f"Match found, transformed path to {fmt_path(result)}") return result elif result: # Exclamation mark - log.explain("Match! Ignored") + log.explain("Match found, path ignored") return None else: continue