pysvr code cleanup

Please review and pull improvements to pysvr. They reduce pylint violations and make code more pythonic.