diff options
author | Laurent Peuch <cortex@worlddomination.be> | 2020-05-06 13:59:56 +0200 |
---|---|---|
committer | Laurent Peuch <cortex@worlddomination.be> | 2020-05-06 13:59:56 +0200 |
commit | 49dc54a7c761ca4acbef6d2104f8a45a1d5a9cb1 (patch) | |
tree | 793d01d868a88d1eb1a2ec23c196b65acdf0c37a /logilab/common/compat.py | |
parent | ebe94c2439618c14541ce4918fa9d2881c934ce3 (diff) | |
download | logilab-common-49dc54a7c761ca4acbef6d2104f8a45a1d5a9cb1.tar.gz |
[DepreciationWarning] deprecated has been renamed to callable_deprecated
Diffstat (limited to 'logilab/common/compat.py')
-rw-r--r-- | logilab/common/compat.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logilab/common/compat.py b/logilab/common/compat.py index c0d3d41..9373239 100644 --- a/logilab/common/compat.py +++ b/logilab/common/compat.py @@ -70,9 +70,9 @@ else: from io import StringIO, FileIO # noqa from imp import reload # noqa -from logilab.common.deprecation import deprecated # noqa +from logilab.common.deprecation import callable_deprecated # noqa # Other projects import these from here, keep providing them for # backwards compat -any = deprecated('use builtin "any"')(any) -all = deprecated('use builtin "all"')(all) +any = callable_deprecated('use builtin "any"')(any) +all = callable_deprecated('use builtin "all"')(all) |