diff options
author | Andy McCurdy <andy@andymccurdy.com> | 2010-12-31 17:56:46 -0800 |
---|---|---|
committer | Andy McCurdy <andy@andymccurdy.com> | 2010-12-31 17:56:46 -0800 |
commit | d38c26aea660eb7d73047905a6cd03251109e25c (patch) | |
tree | 1ee0365d23d08f20166e8b08eb85e4b12cef2bbf | |
parent | a2ea316908fde976bd7b0a102714d0e9b949ee6c (diff) | |
parent | 772a8d4baebc192e85b553242e6f33aa44012449 (diff) | |
download | redis-py-d38c26aea660eb7d73047905a6cd03251109e25c.tar.gz |
Merge branch 'master' of https://github.com/guidog/redis-py into guidog-master
-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 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 #### |