summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-29 13:31:07 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-29 13:31:07 +0300
commit9dac4a4d49dc0696497e09318fa4b0cb8ff59616 (patch)
tree6d5efc0f0d9bddf29edb97b628fc4db0a954a490
parentbbecf249fee81dd5409ba817a7c9209fc0b4a692 (diff)
downloadvmdb2-fix.tar.gz
improve debug loggingfix
Sponsored-by: author
-rw-r--r--vmdb/spec.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/vmdb/spec.py b/vmdb/spec.py
index f987341..b88bedc 100644
--- a/vmdb/spec.py
+++ b/vmdb/spec.py
@@ -33,11 +33,12 @@ class Spec:
return dict(self._dict)
def get_steps(self, params):
+ logging.debug(f"get_steps: params={params!r}")
return expand_templates(self._dict["steps"], params)
def expand_templates(value, params):
- logging.debug(f"expanding {value!r} with {params!r}")
+ logging.debug(f"expanding {value!r}")
if isinstance(value, str):
template = jinja2.Template(value)
return template.render(**params)