summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2021-04-12 15:41:18 +0000
committerDaniel Silverstone <dsilvers+gitlab@digital-scurf.org>2021-04-12 15:41:18 +0000
commit0bac83375568e399f2bc3281c1bfc7c43c7a662f (patch)
tree6ef61bc15559482b68f09e27d9042828365244af
parentf52e01048f840434772975b0130162c8d4f819ff (diff)
parentb4118b4356279a485534e31321958c088bbc0019 (diff)
downloadsubplot-0bac83375568e399f2bc3281c1bfc7c43c7a662f.tar.gz
Merge branch 'fix_content' into 'main'
fix: log content, as claimed, not regex Closes #174 See merge request larswirzenius/subplot!147
-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)