From b4118b4356279a485534e31321958c088bbc0019 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 12 Apr 2021 11:13:02 +0300 Subject: fix: log content, as claimed, not regex --- share/python/lib/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/python/lib/files.py b/share/python/lib/files.py index dd5b9f8..d3b96fc 100644 --- a/share/python/lib/files.py +++ b/share/python/lib/files.py @@ -92,7 +92,7 @@ def files_file_matches_regex(ctx, filename=None, regex=None): logging.debug(f"files_file_matches_regex: no match") logging.debug(f" filenamed: {filename}") logging.debug(f" regex: {regex}") - logging.debug(f" content: {regex}") + logging.debug(f" content: {content}") logging.debug(f" match: {m}") assert_eq(bool(m), True) -- cgit v1.2.1