diff options
-rw-r--r-- | bind.py | 4 | ||||
-rw-r--r-- | logger.py | 4 | ||||
-rw-r--r-- | patricia.py | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -19,8 +19,8 @@ """ from warnings import warn -warn('bind module is deprecated and will disappear in a near release', - DeprecationWarning, stacklevel=1) +warn('logilab.common.bind module is deprecated and will disappear in a near release', + DeprecationWarning, stacklevel=2) __revision__ = '$Id: bind.py,v 1.8 2005-11-22 13:12:59 syt Exp $' @@ -18,9 +18,9 @@ everything on stdout, the other using syslog. """ from warnings import warn -warn('logger module is deprecated and will disappear in a future release. \ +warn('logilab.common.logger module is deprecated and will disappear in a future release. \ use logging module instead.', - DeprecationWarning, stacklevel=1) + DeprecationWarning, stacklevel=2) __revision__ = "$Id: logger.py,v 1.18 2006-02-03 14:17:42 adim Exp $" diff --git a/patricia.py b/patricia.py index 23c6cd7..6b62feb 100644 --- a/patricia.py +++ b/patricia.py @@ -27,8 +27,8 @@ TODO: _ advanced search """ from warnings import warn -warn('this module is deprecated and will disappear in a near release', - DeprecationWarning, stacklevel=1) +warn('logilab.common.patricia module is deprecated and will disappear in a near release', + DeprecationWarning, stacklevel=2) __revision__ = "$Id: patricia.py,v 1.5 2003-10-31 14:18:32 syt Exp $" |