diff options
Diffstat (limited to 'logilab/common/textutils.py')
-rw-r--r-- | logilab/common/textutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logilab/common/textutils.py b/logilab/common/textutils.py index b0f59d5..95464e5 100644 --- a/logilab/common/textutils.py +++ b/logilab/common/textutils.py @@ -56,7 +56,7 @@ try: except ImportError: linesep = "\n" # gae -from logilab.common.deprecation import deprecated +from logilab.common.deprecation import callable_deprecated MANUAL_UNICODE_MAP = { "\xa1": "!", # INVERTED EXCLAMATION MARK @@ -282,7 +282,7 @@ def splitstrip(string: str, sep: str = ",") -> List[str]: return [word.strip() for word in string.split(sep) if word.strip()] -get_csv = deprecated("get_csv is deprecated, use splitstrip")(splitstrip) +get_csv = callable_deprecated("get_csv is deprecated, use splitstrip")(splitstrip) def split_url_or_path(url_or_path): |