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-30 09:25:09 +0100 |
commit | aeceb3901a5c36154321be78993ed68d537fc9b4 (patch) | |
tree | bab22fb4bb7851bb77e98ad10310136212fd4ab9 /factory/etc/pam.d | |
parent | f644a6da7a6f11d20116842e2ce1c7e9c0b0ad64 (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 'factory/etc/pam.d')
0 files changed, 0 insertions, 0 deletions