~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-20 03:23:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4555.
  • Revision ID: andrew.bennetts@canonical.com-20090720032331-6bn0zmkc9rmkuyxf
Fix minor bug in -Dhpss that would cause a KeyError when issuing a request for a method not registered in request_handlers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    """Generate a message that something was deprecated in a release.
42
42
 
43
43
    >>> deprecated_in((1, 4, 0))
44
 
    '%s was deprecated in version 1.4.0.'
 
44
    '%s was deprecated in version 1.4.'
45
45
    """
46
46
    return ("%%s was deprecated in version %s."
47
47
            % bzrlib._format_version_tuple(version_tuple))