Making salt.states.apache python3 compatible