Making salt.client.api python3 compatible
Merge pull request #17717 from nmadhok/client-python3-api

Making salt.client.api python3 compatible