~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: Aaron Bentley
  • Date: 2008-03-03 16:52:41 UTC
  • mfrom: (3144.3.11 fix-conflict-handling)
  • mto: This revision was merged to the branch mainline in revision 3250.
  • Revision ID: aaron@aaronbentley.com-20080303165241-0k2c7ggs6kr9q6hf
Merge with fix-conflict-handling

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
44
44
           'one_zero',
45
45
           'one_one',
46
46
           'one_two',
 
47
           'one_three',
47
48
           ]
48
49
 
49
50
from warnings import warn
69
70
zero_ninetythree = one_zero # Maintained for backwards compatibility
70
71
one_one = "%s was deprecated in version 1.1."
71
72
one_two = "%s was deprecated in version 1.2."
 
73
one_three = "%s was deprecated in version 1.3."
72
74
 
73
75
def set_warning_method(method):
74
76
    """Set the warning method to be used by this module.