svn path=/trunk/packages/invirt-base/; revision=1935
* config-init.sh: degrade to non-bash gracefully, document better
* invirt.config: fix an error on empty config files
* invirt.common: give clearer error message on missing config variable
+ * invirt.common: handle yaml's None with empty struct for good error message
-- Greg Price <price@mit.edu> Sun, 28 Dec 2008 19:18:51 -0500
prefix)
elif type(x) == list:
return [dicts2struct(v, newprefix(i)) for i, v in enumerate(x)]
+ elif x is None:
+ return struct({}, prefix)
else:
return x