/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/_rio_py.py

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-11 20:19:38 UTC
  • mfrom: (7526.3.2 work)
  • Revision ID: gustav.hartvigsson@gmail.com-20210111201938-omr9wjz3qdgyxe8k
MergedĀ lp:brz

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        for line in line_iter:
37
37
            if not isinstance(line, bytes):
38
38
                raise TypeError(line)
39
 
            yield line.decode('utf-8')
 
39
            yield line.decode('utf-8', 'surrogateescape')
40
40
    return _read_stanza_unicode(iter_unicode_lines())
41
41
 
42
42