Making salt.states.composer python3 compatible