diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2015-01-12 19:36:46 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2015-01-12 19:36:46 +0100 |
commit | 506281535eebb163780ff34364faa4152c9f5d50 (patch) | |
tree | 5e8b5c33738e03ffbc1cea9c78d018cb8a36bb0c | |
parent | dba0b0a5b65c57c71c50ce1681f3286869e231bc (diff) | |
download | yamlish-0.15.1.tar.gz |
Python 2.6 str.decode doesn't have keyword parameters.0.15.1
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | yamlish.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -12,7 +12,7 @@ def read(fname): setup( name='yamlish', - version="0.15", + version="0.15.1", description='Python implementation of YAMLish', author='Matěj Cepl', author_email='mcepl@redhat.com', @@ -190,7 +190,7 @@ def load(source, ignore_wrong_characters=False): except UnicodeDecodeError: log.debug('in ignore_wrong_characters = %s', ignore_wrong_characters) if ignore_wrong_characters: - inobj += line.decode('utf8', errors='ignore') + '\n' + inobj += line.decode('utf8', 'ignore') + '\n' else: raise log.debug('restarting load with inobj as string') |