diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-29 13:28:59 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-29 13:28:59 +0300 |
commit | bbecf249fee81dd5409ba817a7c9209fc0b4a692 (patch) | |
tree | ab562cd32f9411a09c3ef61084bbb5182413ac15 | |
parent | 904e75557c3db584c4a71d8111d9e05f904d0490 (diff) | |
download | vmdb2-bbecf249fee81dd5409ba817a7c9209fc0b4a692.tar.gz |
log for debugging
Sponsored-by: author
-rw-r--r-- | vmdb/spec.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vmdb/spec.py b/vmdb/spec.py index cfcba9c..f987341 100644 --- a/vmdb/spec.py +++ b/vmdb/spec.py @@ -16,6 +16,8 @@ # =*= License: GPL-3+ =*= +import logging + import jinja2 import yaml @@ -35,6 +37,7 @@ class Spec: def expand_templates(value, params): + logging.debug(f"expanding {value!r} with {params!r}") if isinstance(value, str): template = jinja2.Template(value) return template.render(**params) |