diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-24 10:38:01 +0100 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-11-24 10:38:01 +0100 |
commit | 115a10c58d343d00b73bd9442f7ce6c294debad8 (patch) | |
tree | b602ca55a0829312ad3ab22b814fb4a16ca9caa6 /sysctl.d | |
parent | bbe16abb611d05c4aba255433f061bdce8c321ac (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 'sysctl.d')
0 files changed, 0 insertions, 0 deletions