diff options
author | andy <andy@whiskeymedia.com> | 2012-11-16 11:31:50 -0800 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2012-11-16 11:31:50 -0800 |
commit | fe60fc97128eda8d0d12468cddd3cc5fd002232e (patch) | |
tree | bde32e83c7808d1eb18646cd7aeaf58a0e52dfb8 /redis/connection.py | |
parent | 76d516aa6e4a9e4a6e690d37dc577c6662d5ec87 (diff) | |
download | redis-py-fe60fc97128eda8d0d12468cddd3cc5fd002232e.tar.gz |
always raise parse error exceptions in multi/exec pipelines as a result of this
server change: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/redis-db/VUiEFT8U8U0
Diffstat (limited to 'redis/connection.py')
-rw-r--r-- | redis/connection.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redis/connection.py b/redis/connection.py index 118e99f..93dbbe6 100644 --- a/redis/connection.py +++ b/redis/connection.py @@ -12,6 +12,7 @@ from redis.exceptions import ( InvalidResponse, AuthenticationError, NoScriptError, + ExecAbortError, ) try: @@ -35,6 +36,7 @@ class PythonParser(object): EXCEPTION_CLASSES = { 'ERR': ResponseError, 'NOSCRIPT': NoScriptError, + 'EXECABORT': ExecAbortError, } def __init__(self): |