Making salt.modules.hg python3 compatible
Merge pull request #17386 from nmadhok/modules-python3-hg

Making salt.modules.hg python3 compatible