Making salt.renderers.py python3 compatible