Rev 6028: Remove trace.info, trace.log_error and trace.error deprecated in 2.1.0. in file:///home/vila/src/bzr/cleanup/trace-deprecations/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Fri Jul 15 14:13:32 UTC 2011
At file:///home/vila/src/bzr/cleanup/trace-deprecations/
------------------------------------------------------------
revno: 6028
revision-id: v.ladeuil+lp at free.fr-20110715141332-ohkbf3u3xgzdmqq1
parent: pqm at pqm.ubuntu.com-20110715103459-a8mns59n9cqptdn5
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: trace-deprecations
timestamp: Fri 2011-07-15 16:13:32 +0200
message:
Remove trace.info, trace.log_error and trace.error deprecated in 2.1.0.
-------------- next part --------------
=== modified file 'bzrlib/trace.py'
--- a/bzrlib/trace.py 2011-05-19 09:32:38 +0000
+++ b/bzrlib/trace.py 2011-07-15 14:13:32 +0000
@@ -71,11 +71,6 @@
import bzrlib
-from bzrlib.symbol_versioning import (
- deprecated_function,
- deprecated_in,
- )
-
lazy_import(globals(), """
from bzrlib import (
debug,
@@ -130,24 +125,6 @@
_bzr_logger.warning(*args, **kwargs)
- at deprecated_function(deprecated_in((2, 1, 0)))
-def info(*args, **kwargs):
- """Deprecated: use trace.note instead."""
- note(*args, **kwargs)
-
-
- at deprecated_function(deprecated_in((2, 1, 0)))
-def log_error(*args, **kwargs):
- """Deprecated: use bzrlib.trace.show_error instead"""
- _bzr_logger.error(*args, **kwargs)
-
-
- at deprecated_function(deprecated_in((2, 1, 0)))
-def error(*args, **kwargs):
- """Deprecated: use bzrlib.trace.show_error instead"""
- _bzr_logger.error(*args, **kwargs)
-
-
def show_error(*args, **kwargs):
"""Show an error message to the user.
More information about the bazaar-commits
mailing list