/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: Aaron Bentley
  • Date: 2008-02-24 16:42:13 UTC
  • mfrom: (3234 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3235.
  • Revision ID: aaron@aaronbentley.com-20080224164213-eza1lzru5bwuwmmj
Merge with 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',
46
48
           ]
47
49
 
48
50
from warnings import warn
67
69
one_zero = "%s was deprecated in version 1.0."
68
70
zero_ninetythree = one_zero # Maintained for backwards compatibility
69
71
one_one = "%s was deprecated in version 1.1."
70
 
 
 
72
one_two = "%s was deprecated in version 1.2."
 
73
one_three = "%s was deprecated in version 1.3."
71
74
 
72
75
def set_warning_method(method):
73
76
    """Set the warning method to be used by this module.