~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/symbol_versioning.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-01-14 01:40:02 UTC
  • mfrom: (3177.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080114014002-pz5tya37urp1n3fk
Fix typos of Firefox and OpenOffice.org in docs (Matt Nordhoff)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006, 2007, 2008 Canonical Ltd
 
1
# Copyright (C) 2006, 2007 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
46
           ]
49
47
 
50
48
from warnings import warn
69
67
one_zero = "%s was deprecated in version 1.0."
70
68
zero_ninetythree = one_zero # Maintained for backwards compatibility
71
69
one_one = "%s was deprecated in version 1.1."
72
 
one_two = "%s was deprecated in version 1.2."
73
 
one_three = "%s was deprecated in version 1.3."
 
70
 
74
71
 
75
72
def set_warning_method(method):
76
73
    """Set the warning method to be used by this module.