Refactor _eval_script a bit so you don't need to hardcode the number of keys anymore (infer it from the arguments being passed). Also use clearer variables for the script exit code. It's just an error code, not an actual result.
Refactor _eval_script a bit so you don't need to hardcode the number of keys anymore (infer it from the arguments being passed). Also use clearer variables for the script exit code. It's just an error code, not an actual result.

buildingenergy/python-redis-lock,ionelmc/python-redis-lock