diff options
author | Randall Leeds <randall.leeds@gmail.com> | 2011-07-11 22:58:56 -0700 |
---|---|---|
committer | Randall Leeds <randall.leeds@gmail.com> | 2011-07-11 23:00:01 -0700 |
commit | 80a8b8e9ec010a262673620c70b2b09464bc0b12 (patch) | |
tree | f16af5358d93727199ea1c07b7dab5cbf5282652 | |
parent | a7e7efe7550abe8c04a8c6bb25063e24aae97ca3 (diff) | |
download | redis-py-80a8b8e9ec010a262673620c70b2b09464bc0b12.tar.gz |
Revert "Don't mask ConnectionError in Pipeline.execute()"
This reverts commit 9e918fdb481aef700561592121322a3a82072f72.
-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 97b6135..04cf0ea 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1354,7 +1354,7 @@ class Pipeline(Redis): # if we were watching a variable, the watch is no longer valid since # this connection has died. if self.watching: - raise + raise WatchError("Watched variable changed.") return execute(conn, stack) finally: self.reset() |