This is an automated email from the git hooks/post-receive script.
praiskup pushed a commit to branch master
in repository copr/copr.
commit dcc82cb89d29b9a0e4e09561b9afd74c70c21e4e
Author: Pavel Raiskup <praiskup(a)redhat.com>
AuthorDate: Sat Mar 16 19:11:13 2019 +0100
[backend] fix charset warnings on redis-py v3
/usr/lib/python3.7/site-packages/redis/client.py:619:
DeprecationWarning: "charset" is deprecated. Use "encoding"
instead
Fixes: #583
---
backend/backend/helpers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/backend/helpers.py b/backend/backend/helpers.py
index ed5673c..a8b8a0c 100644
--- a/backend/backend/helpers.py
+++ b/backend/backend/helpers.py
@@ -378,7 +378,7 @@ def get_redis_connection(opts):
if hasattr(opts, "redis_port"):
kwargs["port"] = opts.redis_port
- return StrictRedis(charset="utf-8", decode_responses=True, **kwargs)
+ return StrictRedis(encoding="utf-8", decode_responses=True, **kwargs)
def format_tb(ex, ex_traceback):
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.