community.general/lib/ansible/plugins/cache
Toshio Kuratomi 90b1d780eb Fix redis cache for python3
According to the redis-py docs, zrank will return the 0 based index for
the value in the sorted set.  So the logic here wasn't right to begin
with (It just means that a value at the 0-th position would never show
up as cached).  Need to compare against None to know if the value
exists in the cache.

https://redis-py.readthedocs.io/en/latest/#redis.StrictRedis.zrank

Fixes #25590
2017-06-13 09:50:46 -04:00
..
__init__.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
base.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
jsonfile.py updated cache descriptions 2017-06-09 23:48:47 -04:00
memcached.py put cache base classes in __init__ (#22809) 2017-03-23 01:26:10 -04:00
memory.py Collated PEP8 fixes (#25293) 2017-06-02 12:14:11 +01:00
pickle.py updated cache descriptions 2017-06-09 23:48:47 -04:00
redis.py Fix redis cache for python3 2017-06-13 09:50:46 -04:00
yaml.py updated cache descriptions 2017-06-09 23:48:47 -04:00