summaryrefslogtreecommitdiff
path: root/redis/commands/search/querystring.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands/search/querystring.py')
-rw-r--r--redis/commands/search/querystring.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/redis/commands/search/querystring.py b/redis/commands/search/querystring.py
index f5f59b7..aecd3b8 100644
--- a/redis/commands/search/querystring.py
+++ b/redis/commands/search/querystring.py
@@ -1,6 +1,3 @@
-from six import string_types, integer_types
-
-
def tags(*t):
"""
Indicate that the values should be matched to a tag field
@@ -186,7 +183,7 @@ class Node(object):
kvparams = {}
for k, v in kwparams.items():
curvals = kvparams.setdefault(k, [])
- if isinstance(v, (string_types, integer_types, float)):
+ if isinstance(v, (str, int, float)):
curvals.append(Value.make_value(v))
elif isinstance(v, Value):
curvals.append(v)