/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/propose/gitlabs.py

  • 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:
30
30
    urlutils,
31
31
    )
32
32
from ...git.urls import git_url_to_bzr_url
33
 
from ...sixish import PY3
34
33
from ...trace import mutter
35
34
from ...transport import get_transport
36
35
 
261
260
 
262
261
 
263
262
def gitlab_url_to_bzr_url(url, name):
264
 
    if not PY3:
265
 
        name = name.encode('utf-8')
266
263
    return git_url_to_bzr_url(url, branch=name)
267
264
 
268
265