/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 bzrlib/cache_utf8.py

  • Committer: Patch Queue Manager
  • Date: 2012-03-12 19:01:05 UTC
  • mfrom: (6468.6.2 492144-rename-wrapper)
  • Revision ID: pqm@pqm.ubuntu.com-20120312190105-p9dg7dxetifq1k0w
(gz) Implement osutils._rename_wrap_exception for recording both filenames
 in the error (Ross Lagerwall)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
"""Some functions to enable caching the conversion between unicode to utf8"""
21
21
 
 
22
from __future__ import absolute_import
 
23
 
22
24
import codecs
23
25
 
24
 
 
25
26
_utf8_encode = codecs.utf_8_encode
26
27
_utf8_decode = codecs.utf_8_decode
27
28
def _utf8_decode_with_None(bytestring, _utf8_decode=_utf8_decode):