summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-24 14:38:30 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-24 14:38:30 +0200
commit0a99739565b5e477a27710a41368cc3ede5716f5 (patch)
tree872306a36a47bf1d7b24a5834c821242904430f8
parent7acf2392d4e8e0eaae7a8a7566d5e2911a8313f2 (diff)
downloadlogilab-common-0a99739565b5e477a27710a41368cc3ede5716f5.tar.gz
fix deprecation message: meaning of deprecated without arguments has changed
-rw-r--r--textutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textutils.py b/textutils.py
index cf4deb2..f0719e5 100644
--- a/textutils.py
+++ b/textutils.py
@@ -257,7 +257,7 @@ def splitstrip(string, sep=','):
"""
return [word.strip() for word in string.split(sep) if word.strip()]
-get_csv = deprecated()(splitstrip)
+get_csv = deprecated('get_csv is deprecated, use splitstrip')(splitstrip)
def split_url_or_path(url_or_path):