summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorEliFinkelshteyn <iefinkel@gmail.com>2013-08-26 14:13:33 -0700
committerEliFinkelshteyn <iefinkel@gmail.com>2013-08-26 14:13:33 -0700
commit326964644db8a85871a93c19fcdea1cc36bc523c (patch)
treef712543bc58f5b460ac8f9e71ac8e944d5948520 /redis/client.py
parentdcc0cbea1378fe215556994ec14498ba3240a737 (diff)
downloadredis-py-326964644db8a85871a93c19fcdea1cc36bc523c.tar.gz
returning empty list when empty pipeline run per discussion in #362
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 8f01500..fe56f1c 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -1969,7 +1969,7 @@ class BasePipeline(object):
"Execute all the commands in the current pipeline"
stack = self.command_stack
if not stack:
- return
+ return []
if self.scripts:
self.load_scripts()
if self.transaction or self.explicit_transaction: