/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: 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:
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