diff options
author | guidog <github@a-nugget.de> | 2010-12-23 15:36:45 +0100 |
---|---|---|
committer | guidog <github@a-nugget.de> | 2010-12-23 15:36:45 +0100 |
commit | 772a8d4baebc192e85b553242e6f33aa44012449 (patch) | |
tree | c56656e792503671284ae840ed6de7118fb04591 /redis/client.py | |
parent | 5f99011ae98809ffc569793cd9896c24d1d9ee6b (diff) | |
download | redis-py-772a8d4baebc192e85b553242e6f33aa44012449.tar.gz |
Fixed issue 89.
Diffstat (limited to 'redis/client.py')
-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 d173d26..56f4c91 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 #### |