summaryrefslogtreecommitdiffstats
path: root/src/version.h
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2013-04-05 18:25:23 +0200
committerDavid Sommerseth <davids@redhat.com>2013-04-05 18:25:23 +0200
commit39869fb9346cd46097bd6d70a90f351938d30296 (patch)
treea7afc342e03901b9ba9e822efb32b0949ce352e0 /src/version.h
parentd6987c53d3648d85e410ef81a343867e239eb960 (diff)
downloadpython-dmidecode-39869fb9346cd46097bd6d70a90f351938d30296.tar.gz
python-dmidecode-39869fb9346cd46097bd6d70a90f351938d30296.tar.xz
python-dmidecode-39869fb9346cd46097bd6d70a90f351938d30296.zip
Do not add explictly 'dmispec' attributes inside switch() in dmi_decode()
The dmispec attribute is added outside the switch() call, and must not be duplicated. If this happens, an invalid XML file will be generated. (Un)fortunately, libxml2 is quite forgiving to this error. But xmllint will complain about it and other XML libraries (such as python-lxml) may reject such XML data. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'src/version.h')
0 files changed, 0 insertions, 0 deletions