We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ef18fd + c398319 commit 20fc04eCopy full SHA for 20fc04e
redis/client.py
@@ -335,7 +335,7 @@ class StrictRedis(object):
335
string_keys_to_dict(
336
# these return OK, or int if redis-server is >=1.3.4
337
'LPUSH RPUSH',
338
- lambda r: isinstance(r, long) and r or nativestr(r) == 'OK'
+ lambda r: isinstance(r, (long, int)) and r or nativestr(r) == 'OK'
339
),
340
string_keys_to_dict('SORT', sort_return_tuples),
341
string_keys_to_dict('ZSCORE ZINCRBY', float_or_none),
0 commit comments