From c85fb78c36d8a0d2679680ab182871d2f2938da6 Mon Sep 17 00:00:00 2001 From: Eyal Date: Tue, 23 Jan 2018 18:02:47 +0200 Subject: [PATCH] fix log formatting Change-Id: I17545cb341486e3537784936749a990e6a72272e --- vitrage/api_handler/apis/template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vitrage/api_handler/apis/template.py b/vitrage/api_handler/apis/template.py index 924c87e40..3b12f1c0d 100644 --- a/vitrage/api_handler/apis/template.py +++ b/vitrage/api_handler/apis/template.py @@ -34,7 +34,7 @@ class TemplateApis(object): self.db = db def validate_template(self, ctx, templates, template_type): - LOG.debug("TemplateApis validate_template type: %s content: ", + LOG.debug("TemplateApis validate_template type: %s content: %s", str(template_type), str(templates)) files_content = [t[1] for t in templates] @@ -50,7 +50,7 @@ class TemplateApis(object): A new template has been added to the database with a status of LOADING that needs to be handled. """ - LOG.debug("TemplateApis add_template type: %s content: ", + LOG.debug("TemplateApis add_template type: %s content: %s", str(template_type), str(templates)) files_content = [t[1] for t in templates]