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