/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: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from __future__ import absolute_import
18
 
 
19
17
from io import BytesIO
20
18
import os
21
19
import socket
24
22
except ImportError:
25
23
    from urlparse import urlsplit, urlunsplit  # noqa: F401
26
24
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
 
        )
 
25
from xmlrpc.client import (
 
26
    __version__ as xmlrpc_version,
 
27
    Fault,
 
28
    ProtocolError,
 
29
    ServerProxy,
 
30
    Transport,
 
31
    )
43
32
 
44
33
from ... import (
45
34
    errors,