~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/cache_utf8.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-19 13:23:58 UTC
  • mto: This revision was merged to the branch mainline in revision 6386.
  • Revision ID: jelmer@canonical.com-20111219132358-uvs5a6y92gomzacd
Move importing from future until after doc string, otherwise the doc string will disappear.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# TODO: Some kind of command-line display of revision properties:
18
18
# perhaps show them in log -v and allow them as options to the commit command.
19
19
 
 
20
"""Some functions to enable caching the conversion between unicode to utf8"""
 
21
 
20
22
from __future__ import absolute_import
21
23
 
22
 
"""Some functions to enable caching the conversion between unicode to utf8"""
23
 
 
24
24
import codecs
25
25
 
26
 
 
27
26
_utf8_encode = codecs.utf_8_encode
28
27
_utf8_decode = codecs.utf_8_decode
29
28
def _utf8_decode_with_None(bytestring, _utf8_decode=_utf8_decode):