summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorAndy McCurdy <andy@andymccurdy.com>2010-03-12 14:20:19 -0800
committerAndy McCurdy <andy@andymccurdy.com>2010-03-12 14:20:19 -0800
commita33431a07c2798b7b1c96e13f8d93582eb309f58 (patch)
tree68e13f732a98287da8be65ca67d1b22fa299ddfe /redis/client.py
parentad388393f7e3967ff1a69001308cdbcf98306127 (diff)
downloadredis-py-a33431a07c2798b7b1c96e13f8d93582eb309f58.tar.gz
no reason to join the names here -- just let the format_inline do it, that way we get the benefit of encoding, too!
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 6854803..7862b7c 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -389,7 +389,7 @@ class Redis(threading.local):
def delete(self, *names):
"Delete one or more keys specified by ``names``"
- return self.format_inline('DEL', ' '.join(names))
+ return self.format_inline('DEL', *names)
__delitem__ = delete
def flush(self, all_dbs=False):