From ae6e8e94a0259144dd47325c11ca7e280b826b74 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 14 Mar 2016 17:10:36 -0400 Subject: [PATCH] config: error reporting: type obj can be an assoc array or a string Signed-off-by: Philippe Proulx --- barectf/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.34.1