/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/launchpad/lp_registration.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:
24
24
except ImportError:
25
25
    from urlparse import urlsplit, urlunsplit  # noqa: F401
26
26
import urllib
27
 
try:
28
 
    from xmlrpc.client import (
29
 
        __version__ as xmlrpc_version,
30
 
        Fault,
31
 
        ProtocolError,
32
 
        ServerProxy,
33
 
        Transport,
34
 
        )
35
 
except ImportError:  # python < 3
36
 
    from xmlrpclib import (
37
 
        __version__ as xmlrpc_version,
38
 
        Fault,
39
 
        ProtocolError,
40
 
        Transport,
41
 
        ServerProxy,
42
 
        )
 
27
from xmlrpc.client import (
 
28
    __version__ as xmlrpc_version,
 
29
    Fault,
 
30
    ProtocolError,
 
31
    ServerProxy,
 
32
    Transport,
 
33
    )
43
34
 
44
35
from ... import (
45
36
    errors,