diff options
author | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-17 22:56:45 +0900 |
---|---|---|
committer | Takashi Kajinami <tkajinam@redhat.com> | 2022-05-18 16:12:37 +0900 |
commit | 44f17d005ff53008144ca7c509bcb1307d66b23f (patch) | |
tree | b03024443b92a78f3cdacfca29f4010d24c8b685 /taskflow/utils/redis_utils.py | |
parent | b5b69e8110da44a88b2260cd24ada3439f29938e (diff) | |
download | taskflow-44f17d005ff53008144ca7c509bcb1307d66b23f.tar.gz |
Remove six
This library no longer supports Python 2, thus usage of six can be
removed. This also removes workaround about pickle library used in
Python 2 only.
Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
Diffstat (limited to 'taskflow/utils/redis_utils.py')
-rw-r--r-- | taskflow/utils/redis_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/taskflow/utils/redis_utils.py b/taskflow/utils/redis_utils.py index 0d04073..373ab2d 100644 --- a/taskflow/utils/redis_utils.py +++ b/taskflow/utils/redis_utils.py @@ -15,15 +15,15 @@ # under the License. import enum +import functools import redis from redis import exceptions as redis_exceptions -import six def _raise_on_closed(meth): - @six.wraps(meth) + @functools.wraps(meth) def wrapper(self, *args, **kwargs): if self.closed: raise redis_exceptions.ConnectionError("Connection has been" |