/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-14 03:16:54 UTC
  • mfrom: (7479.2.3 no-more-python2)
  • Revision ID: breezy.the.bot@gmail.com-20200214031654-bp1xtv2jr9nmhto3
Drop python2 support.

Merged from https://code.launchpad.net/~jelmer/brz/no-more-python2/+merge/378694

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)