commit | c80304a7a109d27fa89ef4504732c701a582a546 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Thu Mar 07 11:07:29 2019 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Fri Mar 08 10:31:26 2019 -0800 |
tree | 41d94d6e17d6d298d568ca71ef3738a2800a08fe | |
parent | 1d44c81a27607d94ee561b921d291a48507ceef6 [diff] [blame] |
SEBA-513 Cleanup errors reported by xproto validator Change-Id: I081534669a8b2ff542dfe9548847f5ff40a47643
diff --git a/lib/xos-genx/xosgenx/jinja2_extensions/tosca.py b/lib/xos-genx/xosgenx/jinja2_extensions/tosca.py index b6ae85d..947be4f 100644 --- a/lib/xos-genx/xosgenx/jinja2_extensions/tosca.py +++ b/lib/xos-genx/xosgenx/jinja2_extensions/tosca.py
@@ -19,7 +19,8 @@ def xproto_tosca_required(null, blank, default=None, modifier=None): # `null` is not currently considered. `blank` is deprecated. if (modifier == "optional") or (blank == "True") or (default is not None): - return "false" + return "false" + return "true"