For now, revert r2093-2095, which were committed by accident; I'm not
[invirt/packages/invirt-base.git] / python / invirt / common.py
index 85f37d6..a85d955 100644 (file)
@@ -39,6 +39,8 @@ def dicts2struct(x, prefix = None):
                       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