~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: John Arbash Meinel
  • Date: 2008-05-19 20:54:37 UTC
  • mto: This revision was merged to the branch mainline in revision 3436.
  • Revision ID: john@arbash-meinel.com-20080519205437-gq0ai59wfynxhr4w
Change deprecated_in to end with a '.'

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
    """Generate a message that something was deprecated in a release.
89
89
 
90
90
    >>> deprecated_in((1, 4, 0))
91
 
    '%s was deprecated in version 1.4'
 
91
    '%s was deprecated in version 1.4.'
92
92
    """
93
 
    return ("%s was deprecated in version "
94
 
            + bzrlib._format_version_tuple(version_tuple))
 
93
    return ("%%s was deprecated in version %s."
 
94
            % bzrlib._format_version_tuple(version_tuple))
95
95
 
96
96
 
97
97
def set_warning_method(method):