summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-04-12 11:13:02 +0300
committerLars Wirzenius <liw@liw.fi>2021-04-12 11:13:02 +0300
commitb4118b4356279a485534e31321958c088bbc0019 (patch)
tree4a3447a3db3e93d44ddcfb48973e0d5d5958b9e6
parent22719be2c3b13e4dd0463db10023d615a6bde847 (diff)
downloadsubplot-b4118b4356279a485534e31321958c088bbc0019.tar.gz
fix: log content, as claimed, not regex
-rw-r--r--share/python/lib/files.py2
1 files changed, 1 insertions, 1 deletions
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)