From 544bd0a5d238d6fdda929f08e53db1a970bca738 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 27 Sep 2017 08:03:13 +0100 Subject: [PATCH] Improve logging for gendoc --- templating/matrix_templates/units.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templating/matrix_templates/units.py b/templating/matrix_templates/units.py index 09353f97..e1926713 100644 --- a/templating/matrix_templates/units.py +++ b/templating/matrix_templates/units.py @@ -550,8 +550,8 @@ class MatrixUnits(Units): for filename in os.listdir(path): if not filename.endswith(".yaml"): continue - logger.info("Reading swagger API: %s" % filename) filepath = os.path.join(path, filename) + logger.info("Reading swagger API: %s" % filepath) with open(filepath, "r") as f: # strip .yaml group_name = filename[:-5].replace("-", "_")