aboutsummaryrefslogtreecommitdiffstats
path: root/pylintrc
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-04-16 17:28:59 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-04-16 17:28:59 +0100
commitfc908156bb888effc3e973f09ede606b7ab1476c (patch)
treef66bf4c04496c1a1e2a2b5ac31540c74afdbf292 /pylintrc
parentf6bcd6abd9d3dc30a951091fe54ed20057a109dd (diff)
downloadsos-fc908156bb888effc3e973f09ede606b7ab1476c.tar.gz
Use uft-8 encoding for archive IO
When reading and writing files within the archive class use the codecs module and set the 'utf-8' encoding. This prevents encoding exceptions if a plugin passes a unicode string to add_string() or if a plugin attempts to read unicode encoded data from an archive file via the open_file() method. Fixes Issue #275. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'pylintrc')
0 files changed, 0 insertions, 0 deletions