Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #25 from ctavan/pass-list-to-delete

Pass list to delete
  • Loading branch information...
commit 2d7a4abb941ebcbf27d9b8dbe558ef465b06b695 2 parents 2e3a367 + eedda88
@fiorix authored
Showing with 6 additions and 1 deletion.
  1. +4 −0 README.md
  2. +2 −1  txredisapi.py
View
4 README.md
@@ -540,3 +540,7 @@ Thanks to (in no particular order):
- Jeremy Archer
- Minor bugfixes.
+
+- Christoph Tavan (@ctavan)
+
+ - Idea and test case for nested multi bulk replies, minor command enhancements.
View
3  txredisapi.py
@@ -385,10 +385,11 @@ def exists(self, key):
"""
return self.execute_command("EXISTS", key)
- def delete(self, *keys):
+ def delete(self, keys, *args):
"""
Delete one or more keys
"""
+ keys = list_or_args("delete", keys, args)
return self.execute_command("DEL", *keys)
def type(self, key):
Please sign in to comment.
Something went wrong with that request. Please try again.