diff options
author | EliFinkelshteyn <iefinkel@gmail.com> | 2013-08-26 14:13:33 -0700 |
---|---|---|
committer | EliFinkelshteyn <iefinkel@gmail.com> | 2013-08-26 14:13:33 -0700 |
commit | 326964644db8a85871a93c19fcdea1cc36bc523c (patch) | |
tree | f712543bc58f5b460ac8f9e71ac8e944d5948520 /redis/client.py | |
parent | dcc0cbea1378fe215556994ec14498ba3240a737 (diff) | |
download | redis-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.py | 2 |
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: |