/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/bundle/serializer/v08.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-21 23:59:28 UTC
  • mfrom: (6973.6.4 python3-e)
  • Revision ID: jelmer@jelmer.uk-20180621235928-f7z0vf0lxc6ieo9e
Merge lp:~jelmer/brz/python3-e

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
from breezy.bundle.bundle_data import (RevisionInfo, BundleInfo)
31
31
from breezy.diff import internal_diff
32
32
from breezy.revision import NULL_REVISION
 
33
from breezy.sixish import text_type
33
34
from breezy.testament import StrictTestament
34
35
from breezy.timestamp import (
35
36
    format_highres_date,
152
153
            f.write(b': ')
153
154
            f.write(value)
154
155
            f.write(b'\n')
155
 
        elif isinstance(value, unicode):
 
156
        elif isinstance(value, text_type):
156
157
            f.write(b': ')
157
158
            f.write(value.encode('utf-8'))
158
159
            f.write(b'\n')