summaryrefslogtreecommitdiff
path: root/redis/commands/helpers.py
diff options
context:
space:
mode:
authorChayim I. Kirshen <c@kirshen.com>2021-11-01 17:52:32 +0200
committerChayim I. Kirshen <c@kirshen.com>2021-11-01 17:52:32 +0200
commit2bc2d6668661dcdd1c3ff5795f505a0e492f8bc2 (patch)
treec94fb691215ee0487b11c1e02f0512222c86518b /redis/commands/helpers.py
parent8178997e2838d01dafe14dcf0a1d2d6c6a20f051 (diff)
downloadredis-py-ck-fixjson.tar.gz
Improvements to JSON coverageck-fixjson
tests to validate json behaviour deprecation support api changes
Diffstat (limited to 'redis/commands/helpers.py')
-rw-r--r--redis/commands/helpers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/redis/commands/helpers.py b/redis/commands/helpers.py
index a92c025..48ee556 100644
--- a/redis/commands/helpers.py
+++ b/redis/commands/helpers.py
@@ -22,6 +22,8 @@ def nativestr(x):
def delist(x):
"""Given a list of binaries, return the stringified version."""
+ if x is None:
+ return x
return [nativestr(obj) for obj in x]