/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/git/git-remote-bzr

  • Committer: Jelmer Vernooij
  • Date: 2020-02-07 02:14:30 UTC
  • mto: This revision was merged to the branch mainline in revision 7492.
  • Revision ID: jelmer@jelmer.uk-20200207021430-m49iq3x4x8xlib6x
Drop python2 support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
import breezy
33
33
breezy.initialize()
34
34
 
35
 
from breezy.sixish import PY3
36
 
 
37
35
from breezy.plugin import load_plugins
38
36
load_plugins()
39
37
 
48
46
(shortname, url) = args
49
47
 
50
48
helper = RemoteHelper(open_local_dir(), shortname, open_remote_dir(url))
51
 
if PY3:
52
 
    helper.process(sys.stdin.buffer, sys.stdout.buffer)
53
 
else:
54
 
    helper.process(sys.stdin, sys.stdout)
 
49
helper.process(sys.stdin.buffer, sys.stdout.buffer)