From: Philippe Proulx Date: Mon, 14 Mar 2016 21:10:36 +0000 (-0400) Subject: config: error reporting: type obj can be an assoc array or a string X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ae6e8e94a0259144dd47325c11ca7e280b826b74;p=deliverable%2Fbarectf.git config: error reporting: type obj can be an assoc array or a string Signed-off-by: Philippe Proulx --- diff --git a/barectf/config.py b/barectf/config.py index 9c1a7bd..1b6cb0f 100644 --- a/barectf/config.py +++ b/barectf/config.py @@ -1665,7 +1665,7 @@ class _YamlConfigParser: return t if not _is_assoc_array_prop(type_node): - raise ConfigError('type objects must be associative arrays') + raise ConfigError('type objects must be associative arrays or strings (type alias name)') # inherit: # v2.0: "inherit"