diff options
| author | Theo Despoudis <thdespou@hotmail.com> | 2018-12-04 15:22:21 +0000 |
|---|---|---|
| committer | Theo Despoudis <thdespou@hotmail.com> | 2018-12-04 15:22:21 +0000 |
| commit | 1861986a39f8658150eaa8a61b367e50c7145355 (patch) | |
| tree | b80c22d8d12f35b79d300d29b7cc11642ca60d1c | |
| parent | 1d3fe0fb2d4c11a01ce3e98b4d4e624771937a8c (diff) | |
| download | redis-py-1861986a39f8658150eaa8a61b367e50c7145355.tar.gz | |
Removed ambiguous argument handling
Signed-off-by: Theo Despoudis <thdespou@hotmail.com>
| -rwxr-xr-x | redis/client.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/redis/client.py b/redis/client.py index 6791d67..035c56c 100755 --- a/redis/client.py +++ b/redis/client.py @@ -797,8 +797,6 @@ class Redis(object): (filter, value, filter, value,...) or [filter, value, filter, value,...] """ - if len(filter_options) == 1 and isinstance(filter_options[0], basestring): - return self.client_kill(filter_options[0]) if not isinstance(filter_options, (list, tuple)) or not filter_options: raise DataError("CLIENT KILL <filter> <value> ... ... <filter> <value>" + "must be a non empty list or " |
