config: error reporting: type obj can be an assoc array or a string
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 14 Mar 2016 21:10:36 +0000 (17:10 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 17 Mar 2016 16:38:11 +0000 (12:38 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
barectf/config.py

index 9c1a7bd5f21330808db0d123d726f56f7e43ff3b..1b6cb0f1b4f82d3b20fc1ddb966e1fe8f53ca5f4 100644 (file)
@@ -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"
This page took 0.023956 seconds and 4 git commands to generate.