/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_api.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 18:44:23 UTC
  • mfrom: (6681 work)
  • mto: This revision was merged to the branch mainline in revision 6684.
  • Revision ID: jelmer@jelmer.uk-20170610184423-viizzbubmjxjq5p9
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    """Raise an error if launchpadlib has the wrong version number."""
73
73
    installed_version = parse_launchpadlib_version(launchpadlib.__version__)
74
74
    if installed_version < MINIMUM_LAUNCHPADLIB_VERSION:
75
 
        raise errors.IncompatibleAPI(
76
 
            'launchpadlib', MINIMUM_LAUNCHPADLIB_VERSION,
77
 
            installed_version, installed_version)
 
75
        raise errors.DependencyNotPresent(
 
76
            'launchpadlib',
 
77
            'At least launchpadlib %s is required, but installed version is %s'
 
78
            % (MINIMUM_LAUNCHPADLIB_VERSION, installed_version))
78
79
 
79
80
 
80
81
def lookup_service_root(service_root):