From 30d46a19d51e8ed64ef9743ee7f6f451c034a723 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 26 Oct 2015 14:01:27 +0000 Subject: [PATCH] Review comments --- 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 c5cf0044..c4342141 100644 --- a/templating/matrix_templates/units.py +++ b/templating/matrix_templates/units.py @@ -268,7 +268,7 @@ class MatrixUnits(Units): for table in req_tables[1:]: nested_key_name = [ s["key"] for s in req_tables[0]["rows"] if - s["type"] == ("{%s}" % table["title"]) + s["type"] == ("{%s}" % (table["title"],)) ][0] for row in table["rows"]: row["key"] = "%s.%s" % (nested_key_name, row["key"])