diff options
author | Martin Matusiak <numerodix@gmail.com> | 2014-03-10 20:33:01 +0100 |
---|---|---|
committer | Martin Matusiak <numerodix@gmail.com> | 2014-03-10 20:33:01 +0100 |
commit | 752917a571c05a9f88f39077fe1364f980bf633f (patch) | |
tree | 623d46bbc51a63cbf5c859e3092fbf67bb2292b2 | |
parent | 40c0fe42fca83aba932f0486196a8a187305ff83 (diff) | |
download | ansicolor-752917a571c05a9f88f39077fe1364f980bf633f.tar.gz |
deprecation is current not future
-rw-r--r-- | ansicolor/ansicolor.py | 2 |
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: |