diff options
author | Pete Aykroyd <aykroyd@gmail.com> | 2013-03-01 15:18:55 -0500 |
---|---|---|
committer | Pete Aykroyd <aykroyd@gmail.com> | 2013-03-01 15:18:55 -0500 |
commit | 01b1e22a7915838d1b6c135afe337635381cd8f5 (patch) | |
tree | 4b800d72ed1703641d3f7a836a996f77634351d9 /redis/exceptions.py | |
parent | 896740378a6596a84ba4392fce9c068f125a4dad (diff) | |
download | redis-py-01b1e22a7915838d1b6c135afe337635381cd8f5.tar.gz |
Do not discard pipeline unless in multi.
Fixes an error that occurred if you exec'd a pipeline on which you
hadn't called `multi()`. When an error happened, the code was
automatically calling discard. This causes an a 'DISCARD without MULTI'
error from redis which obscures the actual cause of the error.
Diffstat (limited to 'redis/exceptions.py')
0 files changed, 0 insertions, 0 deletions