pep8 and py3k fixes
3 files changed