Making salt.states.ports python3 compatible
Merge pull request #17621 from nmadhok/states-python3-ports

Making salt.states.ports python3 compatible