summaryrefslogtreecommitdiff
path: root/ansicolor
diff options
context:
space:
mode:
authorMartin Matusiak <numerodix@gmail.com>2014-03-10 20:33:01 +0100
committerMartin Matusiak <numerodix@gmail.com>2014-03-10 20:33:01 +0100
commit752917a571c05a9f88f39077fe1364f980bf633f (patch)
tree623d46bbc51a63cbf5c859e3092fbf67bb2292b2 /ansicolor
parent40c0fe42fca83aba932f0486196a8a187305ff83 (diff)
downloadansicolor-752917a571c05a9f88f39077fe1364f980bf633f.tar.gz
deprecation is current not future
Diffstat (limited to 'ansicolor')
-rw-r--r--ansicolor/ansicolor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansicolor/ansicolor.py b/ansicolor/ansicolor.py
index 799089f..4aaa3d2 100644
--- a/ansicolor/ansicolor.py
+++ b/ansicolor/ansicolor.py
@@ -187,7 +187,7 @@ def wrap_string(s, pos, color, bold=False, reverse=False):
This function has been deprecated in favor of :func:`colorize`.
"""
- warnings.warn("wrap_string is deprecated", PendingDeprecationWarning, 2)
+ warnings.warn("wrap_string is deprecated", DeprecationWarning, 2)
if _disabled:
if pos == 0: