[Freeipa-devel] [freeipa PR#1007][opened] py3: minor fixes