/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_directory.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:
18
18
 
19
19
from __future__ import absolute_import
20
20
 
21
 
try:
22
 
    from urllib.parse import urlsplit
23
 
except ImportError:  # python < 3
24
 
    from urlparse import urlsplit
25
 
try:
26
 
    from xmlrpc.client import Fault
27
 
except ImportError:  # Python < 3
28
 
    from xmlrpclib import Fault
 
21
from urllib.parse import urlsplit
 
22
from xmlrpc.client import Fault
29
23
 
30
24
from ... import (
31
25
    debug,