summaryrefslogtreecommitdiff
path: root/redis/exceptions.py
diff options
context:
space:
mode:
authorPete Aykroyd <aykroyd@gmail.com>2013-03-01 15:18:55 -0500
committerPete Aykroyd <aykroyd@gmail.com>2013-03-01 15:18:55 -0500
commit01b1e22a7915838d1b6c135afe337635381cd8f5 (patch)
tree4b800d72ed1703641d3f7a836a996f77634351d9 /redis/exceptions.py
parent896740378a6596a84ba4392fce9c068f125a4dad (diff)
downloadredis-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