summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Sommerseth <davids@redhat.com>2015-02-03 21:19:13 +0100
committerDavid Sommerseth <davids@redhat.com>2015-02-03 21:19:13 +0100
commit3b32d9d05a785a744f5e315ef9267d67723e082c (patch)
tree1f98276536e6a6d479c74ea12b3f97e98213b9af /utils
parent5cc3d02060f67317049b6e0549c87a407e030e61 (diff)
downloadpython-dmidecode-3b32d9d05a785a744f5e315ef9267d67723e082c.tar.gz
python-dmidecode-3b32d9d05a785a744f5e315ef9267d67723e082c.tar.xz
python-dmidecode-3b32d9d05a785a744f5e315ef9267d67723e082c.zip
Fix failing dmidecode.pythonmap() on Python 3
Python 3 uses the Unicode type for strings but it did only support the Bytes type. So the loading of XML-to-Python-dict-map would fail. This patch preserves the Bytes type support while adding Unicode support, which is what is done other places in the code as well. Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions