summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2010-12-31 17:56:46 -0800
committerAndy McCurdy <andy@andymccurdy.com>2010-12-31 17:56:46 -0800
commitd38c26aea660eb7d73047905a6cd03251109e25c (patch)
tree1ee0365d23d08f20166e8b08eb85e4b12cef2bbf
parenta2ea316908fde976bd7b0a102714d0e9b949ee6c (diff)
parent772a8d4baebc192e85b553242e6f33aa44012449 (diff)
downloadredis-py-d38c26aea660eb7d73047905a6cd03251109e25c.tar.gz
Merge branch 'master' of https://github.com/guidog/redis-py into guidog-master
-rw-r--r--redis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index ddfb211..9ba3547 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -543,7 +543,7 @@ class Redis(threading.local):
instance is promoted to a master instead.
"""
if host is None and port is None:
- return self.execute_command("SLAVEOF NO ONE")
+ return self.execute_command("SLAVEOF", "NO", "ONE")
return self.execute_command("SLAVEOF", host, port)
#### BASIC KEY COMMANDS ####