Applied python3 patch

git-svn-id: https://code.crt.realtors.org/svn/librets/librets/trunk@1565 fe7ac059-47f5-0310-8599-d0339b4e125c