/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: Andrew Bennetts
  • Date: 2008-03-27 06:10:18 UTC
  • mfrom: (3309 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3320.
  • Revision ID: andrew.bennetts@canonical.com-20080327061018-dxztpxyv6yoeg3am
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007 Canonical Ltd
 
1
# Copyright (C) 2006, 2007, 2008 Canonical Ltd
2
2
#   Authors: Robert Collins <robert.collins@canonical.com> and others
3
3
#
4
4
# This program is free software; you can redistribute it and/or modify
43
43
           'zero_ninetythree',
44
44
           'one_zero',
45
45
           'one_one',
 
46
           'one_two',
 
47
           'one_three',
 
48
           'one_four',
46
49
           ]
47
50
 
48
51
from warnings import warn
67
70
one_zero = "%s was deprecated in version 1.0."
68
71
zero_ninetythree = one_zero # Maintained for backwards compatibility
69
72
one_one = "%s was deprecated in version 1.1."
70
 
 
 
73
one_two = "%s was deprecated in version 1.2."
 
74
one_three = "%s was deprecated in version 1.3."
 
75
one_four = "%s was deprecated in version 1.4."
71
76
 
72
77
def set_warning_method(method):
73
78
    """Set the warning method to be used by this module.