diff options
author | David Sommerseth <davids@redhat.com> | 2009-05-14 17:06:18 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2009-05-14 17:06:18 +0200 |
commit | 9d47720a88ee77ac4c0ab5f138a8eaf601c492d0 (patch) | |
tree | 8f518648fe86d0e3d8b8d0fca258d60b555cf735 /src/util.c | |
parent | a92cc1236ca7c5abee27e4360284b67297e39c15 (diff) | |
download | python-dmidecode-9d47720a88ee77ac4c0ab5f138a8eaf601c492d0.tar.gz python-dmidecode-9d47720a88ee77ac4c0ab5f138a8eaf601c492d0.tar.xz python-dmidecode-9d47720a88ee77ac4c0ab5f138a8eaf601c492d0.zip |
Added new Map attribute - emptyIsNone
If the emptyIsNone attribute is set to "1", the Python result
will be forced to Py_None if the referenced XML value is empty.
When checking if the value is empty, the XML value is right trimmed
to remove trailing spaces. Only spaces are are removed.
Diffstat (limited to 'src/util.c')
0 files changed, 0 insertions, 0 deletions