diff options
author | andy <andy@whiskeymedia.com> | 2011-07-13 13:33:11 -0700 |
---|---|---|
committer | andy <andy@whiskeymedia.com> | 2011-07-13 13:33:11 -0700 |
commit | 498e820c684a6b3897e5acee5fe393e9cbfa6480 (patch) | |
tree | 5c59819ba38c06acf0bf8b27b791739d45f17336 | |
parent | 1f17b7538e490a5b5b19ee65e75b2f550e21a919 (diff) | |
download | redis-py-498e820c684a6b3897e5acee5fe393e9cbfa6480.tar.gz |
cosmetic changes
-rw-r--r-- | redis/client.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 123f225..039024d 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1343,10 +1343,11 @@ class Pipeline(Redis): # if we were watching a variable, the watch is no longer valid since # this connection has died. raise a WatchError, which indicates # the user should retry his transaction. If this is more than a - # complete failure, the WATCH that the user next issue will fail, + # temporary failure, the WATCH that the user next issue will fail, # propegating the real ConnectionError if self.watching: - raise WatchError("Watched variable changed.") + raise WatchError("A ConnectionError occured on while watching " + "one or more keys") # otherwise, it's safe to retry since the transaction isn't # predicated on any state return execute(conn, stack) |