summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-11-24 10:38:01 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-11-30 09:25:09 +0100
commitaeceb3901a5c36154321be78993ed68d537fc9b4 (patch)
treebab22fb4bb7851bb77e98ad10310136212fd4ab9 /tools
parentf644a6da7a6f11d20116842e2ce1c7e9c0b0ad64 (diff)
hwdb/parse_hwdb.py: open files with UTF-8 mode
pyparsing uses the system locale by default, which in the case of 'C' (in lots of build environment) will fail with a UnicodeDecodeError. Explicitly open it with UTF-8 encoding to guard against this.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions