mitsuhiko/werkzeug — pull request #406 by AndrewLorente (2013-07-10 00:28:41+00:00)
Title: redis.StrictRedis compatibility for contrib.cache.RedisCache

redis's StrictRedis changes the argument order for a few methods: `lrem`, `setex`, `zadd`. Of the 3, RedisCache uses `setex`, so swap the arguments if we can possibly detect that it's necessary.