Making salt.modules.cmdmod python3 compatible
Merge pull request #17347 from nmadhok/modules-python3-cmdmod

Making salt.modules.cmdmod python3 compatible