Changeset 1935
- Timestamp:
- Dec 28, 2008, 7:27:15 PM (16 years ago)
- Location:
- trunk/packages/invirt-base
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-base/debian/changelog
r1934 r1935 5 5 * invirt.config: fix an error on empty config files 6 6 * invirt.common: give clearer error message on missing config variable 7 * invirt.common: handle yaml's None with empty struct for good error message 7 8 8 9 -- Greg Price <price@mit.edu> Sun, 28 Dec 2008 19:18:51 -0500 -
trunk/packages/invirt-base/python/invirt/common.py
r1934 r1935 40 40 elif type(x) == list: 41 41 return [dicts2struct(v, newprefix(i)) for i, v in enumerate(x)] 42 elif x is None: 43 return struct({}, prefix) 42 44 else: 43 45 return x
Note: See TracChangeset
for help on using the changeset viewer.