~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/trace.py

  • Committer: Vincent Ladeuil
  • Date: 2011-07-15 14:13:32 UTC
  • mto: This revision was merged to the branch mainline in revision 6030.
  • Revision ID: v.ladeuil+lp@free.fr-20110715141332-ohkbf3u3xgzdmqq1
Remove trace.info, trace.log_error and trace.error deprecated in 2.1.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
 
72
72
import bzrlib
73
73
 
74
 
from bzrlib.symbol_versioning import (
75
 
    deprecated_function,
76
 
    deprecated_in,
77
 
    )
78
 
 
79
74
lazy_import(globals(), """
80
75
from bzrlib import (
81
76
    debug,
130
125
    _bzr_logger.warning(*args, **kwargs)
131
126
 
132
127
 
133
 
@deprecated_function(deprecated_in((2, 1, 0)))
134
 
def info(*args, **kwargs):
135
 
    """Deprecated: use trace.note instead."""
136
 
    note(*args, **kwargs)
137
 
 
138
 
 
139
 
@deprecated_function(deprecated_in((2, 1, 0)))
140
 
def log_error(*args, **kwargs):
141
 
    """Deprecated: use bzrlib.trace.show_error instead"""
142
 
    _bzr_logger.error(*args, **kwargs)
143
 
 
144
 
 
145
 
@deprecated_function(deprecated_in((2, 1, 0)))
146
 
def error(*args, **kwargs):
147
 
    """Deprecated: use bzrlib.trace.show_error instead"""
148
 
    _bzr_logger.error(*args, **kwargs)
149
 
 
150
 
 
151
128
def show_error(*args, **kwargs):
152
129
    """Show an error message to the user.
153
130