/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/plugins/git/tests/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2018-05-13 22:54:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6968.
  • Revision ID: jelmer@jelmer.uk-20180513225428-5ysu0bs9rtk7045h
Initial work to support brz-git on python3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
from __future__ import absolute_import
21
21
 
22
 
from cStringIO import StringIO
 
22
from io import BytesIO
23
23
 
24
24
import time
25
25
 
62
62
        self.commit_info = []
63
63
        self.orig_stream = stream
64
64
        if stream is None:
65
 
            self.stream = StringIO()
 
65
            self.stream = BytesIO()
66
66
        else:
67
67
            self.stream = stream
68
68
        self._counter = 0