Rev 3432: Change deprecated_in to end with a '.' in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Mon May 19 21:55:05 BST 2008
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 3432
revision-id: john at arbash-meinel.com-20080519205437-gq0ai59wfynxhr4w
parent: john at arbash-meinel.com-20080519162736-5ihzl2do91aywb6x
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Mon 2008-05-19 15:54:37 -0500
message:
Change deprecated_in to end with a '.'
modified:
bzrlib/symbol_versioning.py symbol_versioning.py-20060105104851-9ecf8af605d15a80
-------------- next part --------------
=== modified file 'bzrlib/symbol_versioning.py'
--- a/bzrlib/symbol_versioning.py 2008-05-16 21:00:25 +0000
+++ b/bzrlib/symbol_versioning.py 2008-05-19 20:54:37 +0000
@@ -88,10 +88,10 @@
"""Generate a message that something was deprecated in a release.
>>> deprecated_in((1, 4, 0))
- '%s was deprecated in version 1.4'
+ '%s was deprecated in version 1.4.'
"""
- return ("%s was deprecated in version "
- + bzrlib._format_version_tuple(version_tuple))
+ return ("%%s was deprecated in version %s."
+ % bzrlib._format_version_tuple(version_tuple))
def set_warning_method(method):
More information about the bazaar-commits
mailing list