~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: Robert Collins
  • Date: 2006-09-25 01:10:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2039.
  • Revision ID: robertc@robertcollins.net-20060925011049-7612969ffb4a5475
(Robert Collins) Add 0.12 deprecation symbol.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
           'zero_nine',
31
31
           'zero_ten',
32
32
           'zero_eleven',
 
33
           'zero_twelve',
33
34
           ]
34
35
 
35
36
from warnings import warn
41
42
zero_nine = "%s was deprecated in version 0.9."
42
43
zero_ten = "%s was deprecated in version 0.10."
43
44
zero_eleven = "%s was deprecated in version 0.11."
 
45
zero_twelve = "%s was deprecated in version 0.12."
44
46
 
45
47
 
46
48
def set_warning_method(method):