diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2014-01-02 12:53:43 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2014-01-02 12:53:43 -0800 |
commit | 97d09968346c010f8fac34e4ed99daa962fd5393 (patch) | |
tree | e4454163c7843db889d2d79605a0734c879c4f5e | |
parent | d12419e5036616aec7078f82492fa8c69442a475 (diff) | |
parent | 0baab568c2526520f28c08433c59d1604e4719e5 (diff) | |
download | redis-py-97d09968346c010f8fac34e4ed99daa962fd5393.tar.gz |
Merge pull request #414 from shearic/fix_badconnection
this issue fixes #413
-rw-r--r-- | redis/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py index 4071d32..afa512a 100644 --- a/redis/client.py +++ b/redis/client.py @@ -2061,6 +2061,7 @@ class BasePipeline(object): response.insert(i, e) if len(response) != len(commands): + self.connection.disconnect() raise ResponseError("Wrong number of response items from " "pipeline execution") |