summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorKonstantin Merenkov <kmerenkov@gmail.com>2010-04-01 02:20:03 +0400
committerKonstantin Merenkov <kmerenkov@gmail.com>2010-04-01 02:20:03 +0400
commitca2759c1642ef420528156b3bf302c0c051c500f (patch)
tree45e47e1a02f1418104e9dc92c73d20ef09acf063 /redis/client.py
parent9a4ee548b8066214fec0cbbb40fcd9812c3d17c7 (diff)
downloadredis-py-ca2759c1642ef420528156b3bf302c0c051c500f.tar.gz
[cosmetic] removed a nearly-dupe comment from _execute_command
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py
index f9357d3..4c58eb1 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -252,7 +252,6 @@ class Redis(threading.local):
#### COMMAND EXECUTION AND PROTOCOL PARSING ####
def _execute_command(self, command_name, command, **options):
- "Sends the command to the Redis server and returns it's response"
subscription_command = command_name in self.SUBSCRIPTION_COMMANDS
if self.subscribed and not subscription_command:
raise RedisError("Cannot issue commands other than SUBSCRIBE and "
@@ -272,7 +271,7 @@ class Redis(threading.local):
return response
def execute_command(self, *args, **options):
- "Sends command to redis server and returns response"
+ "Sends the command to the redis server and returns it's response"
cmd_count = len(args)
cmds = []
for i in args: