~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: Martin Pool
  • Date: 2008-01-16 00:26:25 UTC
  • mto: This revision was merged to the branch mainline in revision 3190.
  • Revision ID: mbp@sourcefrog.net-20080116002625-c1hbpaxotm5be1rj
Improved and reformatted developer documentation on the Bazaar release process.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
           'zero_ninetythree',
44
44
           'one_zero',
45
45
           'one_one',
46
 
           'one_two',
47
46
           ]
48
47
 
49
48
from warnings import warn
68
67
one_zero = "%s was deprecated in version 1.0."
69
68
zero_ninetythree = one_zero # Maintained for backwards compatibility
70
69
one_one = "%s was deprecated in version 1.1."
71
 
one_two = "%s was deprecated in version 1.2."
 
70
 
72
71
 
73
72
def set_warning_method(method):
74
73
    """Set the warning method to be used by this module.